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 AC739448CE7 for ; Wed, 15 Jul 2026 11:03:42 +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=1784113431; cv=none; b=lIrQdYihV5pg9uCtu5ofTF+y33kwsUgSj/N3vxw2Ln7H7vdtB4J9Wm5e0IEkoGD8WjvtWaI5qYzOPTsyDICD9Crwr7zMSeInXXwL1lLJjEix7s0GvmoGdEvoNJrSsv3bylCxo4tiD8XPFTL7MGFBq299JqptsFW3vHGFOOmHHiU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784113431; c=relaxed/simple; bh=yMYx9T08PdeyCEUHBvkxhJ5enBp6n+9uUVKhIzF7q88=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=qmN2R8o3gxNB6H6nUGuzdJRl+gC/zIBinaMYpD16nlyqkuFOxkDPKo5wnyB9AZBh7HP4kfbwuVqoVIbMB6roemRP3x3oWOPB2kKTmoPzjmH7rEoK/hNbOPKyH/1U+dKQZovC57RxRwrf4JRaVHyrR7x0fJvsdxb1eAB4b2ZHaZQ= 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=Dliu1Bli; 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="Dliu1Bli" Received: by mail-wr1-f73.google.com with SMTP id ffacd0b85a97d-4767036f8faso3282676f8f.3 for ; Wed, 15 Jul 2026 04:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1784113421; x=1784718221; 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=z7jfYCvKZRG50MPG0jJuxwEVxoiBrjqYJeMDmdl5htM=; b=Dliu1BlibDlixMgFh87Oy3oeBimkTBtDgxyB2HHO+faGVgcl65fDeJVLNLMpLnpZiS uWtU3TUpC64pr7YBQho0Fkq52xwTp3YOnkDfZyX0VCqSbgswvGd8q1qwpOqMJSUL/z3v js1AidXP+QqdCXUTv32zvEpWD2x2196AvTecpndU0Yhco6pXAW9PeRCTg8ID/kpIwFcm CayjHf7n4UV7sQ9cR67rhWyLd748+dHj37/OF0Zq0JUoxEiB4ydxSOfrU9X9fboDuynl dKyYNZghUSkwy5TyG9Sc6uXO6jE3tLl/GlkupxIEFSsk4ExOx/g/LOZFJ+7L1TbqfYaN CLwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784113421; x=1784718221; 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=z7jfYCvKZRG50MPG0jJuxwEVxoiBrjqYJeMDmdl5htM=; b=YUdEO53EGhNilXwVOU3XeoBrwEvO4BBv94IgcNupAjBzY/2RhmGU5cFqIUWM83MZjI rg9Sl/qohPJ3TuZjj76B8azmzTVnA60yw/4OLN2SeZy7YUo5Ajy4WOVluliwrMKr/aHe k8u/n3dYyEqqi7EUHKYqn9xxhuzbL2YWJU2l9nXa7SvSl394qlw3Fm/g0Ceb3kgEUGD3 1ix10DbWwwYbxJB6nA6puXfC5CJnY5cGBpRJ09eD1unAuCboZRnqlcngcY2Rnbh2Ua17 2nINvmb+3hMxju8koWioCqGv4BhPBkE8LfYBorfMnjUKGDCPFWixrQxdEHJvznutlCrw LQgQ== X-Forwarded-Encrypted: i=1; AHgh+Rp+d7hhjuX0SZrBk/f7Z7cNtQYP8e/jPCVkP+TILa87Sqb9XyGUjFzSjgMRiFJ4D6MTNwT9DASi0UaOPRc=@vger.kernel.org X-Gm-Message-State: AOJu0YwzAkEYatHw1577AiJ3TGoldPeF9vyumOE2cgNBjo/2yseODmgC boNj22h4Vl4R7AWz5HXhzmaY9W3uZCrKXM32qhUPovW9oPqzr4GBK453p6greJyOq6beXRpu6PK k+m1Lhf5G5rc7KQ== X-Received: from wruj11.prod.google.com ([2002:a5d:618b:0:b0:46d:8498:a146]) (user=jackmanb job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:6989:b0:494:6baa:ccef with SMTP id 5b1f17b1804b1-4953c1555a0mr25987965e9.11.1784113420581; Wed, 15 Jul 2026 04:03:40 -0700 (PDT) Date: Wed, 15 Jul 2026 11:03:20 +0000 In-Reply-To: <20260715-spin-trylock-followup-v3-0-fc4d246f705d@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260715-spin-trylock-followup-v3-0-fc4d246f705d@google.com> X-Mailer: b4 0.15.2 Message-ID: <20260715-spin-trylock-followup-v3-3-fc4d246f705d@google.com> Subject: [PATCH v3 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?=" , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Mike Rapoport Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-rt-devel@lists.linux.dev, 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%40google.com?part=6 Reviewed-by: Zi Yan 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 c2da85e69a0f8..25a83a57aab66 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -7983,7 +7983,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