diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2020-06-04 00:59:05 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-04 05:09:45 +0200 |
commit | d0ddf49b7c4a3161d28f58612672d08ee9b5db94 (patch) | |
tree | e82968b578711e4e86594c05a07903247144a306 /certs/Kconfig | |
parent | mm/page_alloc: integrate classzone_idx and high_zoneidx (diff) | |
download | linux-d0ddf49b7c4a3161d28f58612672d08ee9b5db94.tar.xz linux-d0ddf49b7c4a3161d28f58612672d08ee9b5db94.zip |
mm/page_alloc.c: use NODE_MASK_NONE in build_zonelists()
Slightly simplify the code by initializing user_mask with NODE_MASK_NONE,
instead of later calling nodes_clear(). This saves a line of code.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Link: http://lkml.kernel.org/r/20200330220840.21228-1-richard.weiyang@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions