]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kmsan: fix a stale comment in kmsan_save_stack_with_flags()
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 27 Mar 2023 03:41:49 +0000 (11:41 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 28 Mar 2023 23:25:20 +0000 (16:25 -0700)
commitb6bf82cd3dd5313cadfc98e02f698d26b94ba591
treec50a86e0f7b4e6750dec3b126ca3dfdc477236e6
parente194ea64f707d846a4d588ba6551cb3dd313bd2f
kmsan: fix a stale comment in kmsan_save_stack_with_flags()

After commit 446ec83805dd ("mm/page_alloc: use might_alloc()") and commit
84172f4bb752 ("mm/page_alloc: combine __alloc_pages and
__alloc_pages_nodemask"), the comment is no longer accurate.  Flag
'__GFP_DIRECT_RECLAIM' is clear enough on its own, so remove the comment
rather than update it.

Link: https://lkml.kernel.org/r/20230327034149.942-1-thunder.leizhen@huawei.com
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kmsan/core.c