summaryrefslogtreecommitdiffstats
path: root/mm/mincore.c
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2019-03-12 07:30:50 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-12 18:04:02 +0100
commitc9a688a3e918c4eb4f3916ff99a6dae8995af41b (patch)
tree29faf621dd594f941023178df41afdcc6fe2c58c /mm/mincore.c
parentmemblock: remove memblock_{set,clear}_region_flags (diff)
downloadlinux-c9a688a3e918c4eb4f3916ff99a6dae8995af41b.tar.xz
linux-c9a688a3e918c4eb4f3916ff99a6dae8995af41b.zip
memblock: split checks whether a region should be skipped to a helper function
__next_mem_range() and __next_mem_range_rev() duplicate the code that checks whether a region should be skipped because of node or flags incompatibility. Split this code into a helper function. Link: http://lkml.kernel.org/r/1549455025-17706-3-git-send-email-rppt@linux.ibm.com Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions