From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f73.google.com (mail-wr1-f73.google.com [209.85.221.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47AD63F44C1 for ; Tue, 14 Jul 2026 09:32:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784021540; cv=none; b=PpZh012qlTYTiJiocxdLKVvFPeVpp5dy1rsDceDBvIs9Yg1+yBPCEP3jB1w1jz9pvnqbu96RL6fWEL1exeyE7tCAYGDIFYF5BL881Jlko/eS4wcJkTHqLvYj7pWRHPG3fxeg5yNnjapG4bZNeeF/QUFHocppV9Z2LenTV8gTvko= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784021540; c=relaxed/simple; bh=2l1s6SY91BitDP9Fk7cMfVdIRCiEIScYANH9F3mzM9w=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=OpXE6a51fI7K4FA1HNpm9iNZYYOuOswprOr4eKDl7ZE0j4aLoOngGvmxP3mV46R4VzS3IIUGPUVpN8FqYW8yC6CV7+eThGZC8Bk4UkOuzatcTy/gq4cPQUbtYVgs14p5EUga0LGUEBRUED+t6hwu8oMpTicr2b15Vz5xOo1Up6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--jackmanb.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=A4RY5/zI; arc=none smtp.client-ip=209.85.221.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--jackmanb.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="A4RY5/zI" Received: by mail-wr1-f73.google.com with SMTP id ffacd0b85a97d-47f2ed7cc45so2204778f8f.2 for ; Tue, 14 Jul 2026 02:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1784021537; x=1784626337; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=vZCDTy++eofJtCdYVj/00BJntfZC5+UGNjKSKN7oKjA=; b=A4RY5/zIh0TYZFedQYRVq4GibqudS/PGANFqULJJkI1AeHSF25GC9aGJI6IIj7fmz8 GoRtz9Fduf0d8coiB3t0GZgA9NdzwYtTehv5Rx8j3QC5cORvB0Dv2fk3bJqL+TBVXY/p Hq96JLyRP/BjLDQj+cvEAkma4WEL72YGwufL83QJEVUt5MBZw6Wt2/rVIqrnQ32j3+xJ liSuBQlfbfScSbjyNB8iMaj7QUNuX77jJdAstKfOLyBNHcfpdNLWSH/O9KmJGs8FByLS Mgr7a6WQzNMzERb8Y7xWWNaSSN28qBWPVHLfZWz8h/tOkAf5dotv1jg3PC7j5NaeJZ8Q A42g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784021537; x=1784626337; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=vZCDTy++eofJtCdYVj/00BJntfZC5+UGNjKSKN7oKjA=; b=VqkBtMKmg2VtKDS439Y8hTohDO3padTZ/zXxfmtolra5cDsgXedin8XXgAA4+Jey7d xxTpR0WT3b8DZRC6Ihp1ofgRmgezermOnJ67fNERcl9cdamfpXZ/j6Ndj6bh8gTpyBAh SXWYXr2qiLYX7wyzBLRmaehp0KXYktTq1j6TGPcz2RAzjf1neAMXLvSYug2BOv7EvUDA tdWCwpgE58Et8oRfM9rsgzwzQyhfisRXA6+axxGCF1jZ6DUIZkAUheWP9/T2leL4WmPh WoSRsU65R3vbErEsqVeK6v9StpKpvS/5Ics5kAAlG8O1iEJZmZBCLNz6Jnj4vo31Eb6f TF4g== X-Forwarded-Encrypted: i=1; AHgh+Rp70eNZyaTQAv7oGMG7n+oW0MWCTsXcoQ3pVTTo3jXbU2GIKhNAcP9GrSzoT24x9ilezn+FnUQ58wscJH4=@vger.kernel.org X-Gm-Message-State: AOJu0YzF9MWZyc0/8zoG80e9jrkwjvOSv9ZMYPIrYm2+aikgKCwhYg1s bUCn2gzJ37iEqHnUCCdvAMAqdXesM5wzW1dmyy/oUgAPkwzwmqIYSuorDglX0FU7w/SiNskEaIW toUq/S39VGHmPOA== X-Received: from wmcv10.prod.google.com ([2002:a05:600c:428a:b0:493:bc21:e2be]) (user=jackmanb job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:5297:b0:492:454c:347c with SMTP id 5b1f17b1804b1-494013134aemr75960445e9.7.1784021537240; Tue, 14 Jul 2026 02:32:17 -0700 (PDT) Date: Tue, 14 Jul 2026 09:32:01 +0000 In-Reply-To: <20260714-spin-trylock-followup-v2-0-3c20ed032b14@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260714-spin-trylock-followup-v2-0-3c20ed032b14@google.com> X-Mailer: b4 0.15.2 Message-ID: <20260714-spin-trylock-followup-v2-3-3c20ed032b14@google.com> Subject: [PATCH v2 3/4] mm/page_alloc: fixup alloc_pages_nolock_noprof() comment From: Brendan Jackman To: Andrew Morton , Vlastimil Babka , Suren Baghdasaryan , Michal Hocko , Brendan Jackman , Johannes Weiner , Zi Yan , Sebastian Andrzej Siewior , Clark Williams , Steven Rostedt , Waiman Long , Ridong Chen , Tejun Heo , "=?utf-8?q?Michal_Koutn=C3=BD?=" Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, sashiko-bot@kernel.org Content-Type: text/plain; charset="utf-8" Update the comment to reflect the recent change to allow flags in gfp_nolock. Reported-by: sashiko-bot@kernel.org Link: https://sashiko.dev/#/patchset/20260703-alloc-trylock-v5-0-c87b714e19d3@google.com Signed-off-by: Brendan Jackman --- mm/page_alloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index f3f08d0313cfc..d53f858e518f7 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -7994,7 +7994,8 @@ struct page *alloc_frozen_pages_nolock_noprof(gfp_t gfp_flags, int nid, unsigned } /** * alloc_pages_nolock - opportunistic reentrant allocation from any context - * @gfp_flags: GFP flags. Only __GFP_ACCOUNT allowed. + * @gfp_flags: GFP flags. Only __GFP_ACCOUNT, plus some flags that get set + * internally regardless (see @gfp_nolock) are allowed. * @nid: node to allocate from * @order: allocation order size * -- 2.54.0