[PATCH v2 3/4] mm/page_alloc: fixup alloc_pages_nolock_noprof() comment
Brendan Jackman <[email protected]>
| Newsgroups | org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
Update the comment to reflect the recent change to allow flags in gfp_nolock. Reported-by: [email protected] Link: https://sashiko.dev/#/patchset/[email protected] Signed-off-by: Brendan Jackman <[email protected]> --- 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