diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-09-16 09:22:55 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-03 23:03:30 +0200 |
commit | 896c4d52538df231c3847491acc4f2c23891fe6a (patch) | |
tree | e25b664fbe229187a246d2a3b85338b73a7ef063 /scripts/mod/file2alias.c | |
parent | mm/page_alloc: init local variable buddy_pfn (diff) | |
download | linux-896c4d52538df231c3847491acc4f2c23891fe6a.tar.xz linux-896c4d52538df231c3847491acc4f2c23891fe6a.zip |
mm/page_alloc: use costly_order in WARN_ON_ONCE_GFP()
There's no need to check whether order > PAGE_ALLOC_COSTLY_ORDER again.
Minor readability improvement.
Link: https://lkml.kernel.org/r/20220916072257.9639-15-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions