diff options
author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | 2017-09-08 16:12:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-08 18:26:47 -0700 |
commit | 9472f23c9eeba3b32e65a62fe2a9b3e827888afa (patch) | |
tree | 89192d7497a5b90f8b232737df2737489f29d1f3 /.mailmap | |
parent | 638032224ed762a29baca1fc37f1168efc2554ae (diff) | |
download | linux-9472f23c9eeba3b32e65a62fe2a9b3e827888afa.tar.gz linux-9472f23c9eeba3b32e65a62fe2a9b3e827888afa.tar.xz |
mm/mlock.c: use page_zone() instead of page_zone_id()
page_zone_id() is a specialized function to compare the zone for the pages
that are within the section range. If the section of the pages are
different, page_zone_id() can be different even if their zone is the same.
This wrong usage doesn't cause any actual problem since
__munlock_pagevec_fill() would be called again with failed index.
However, it's better to use more appropriate function here.
Link: http://lkml.kernel.org/r/1503559211-10259-1-git-send-email-iamjoonsoo.kim@lge.com
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions