diff options
| author | Joonsoo Kim <[email protected]> | 2017-09-08 16:12:59 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-09-08 18:26:47 -0700 |
| commit | 9472f23c9eeba3b32e65a62fe2a9b3e827888afa (patch) | |
| tree | 89192d7497a5b90f8b232737df2737489f29d1f3 /tools/perf/scripts/python | |
| parent | 638032224ed762a29baca1fc37f1168efc2554ae (diff) | |
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/[email protected]
Signed-off-by: Joonsoo Kim <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions