diff options
author | Joonsoo Kim <js1304@gmail.com> | 2012-12-12 01:01:24 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 02:22:24 +0100 |
commit | eb2db439a3203ae86c35ad277ac4a3268a94baa1 (patch) | |
tree | a36bb544c2252468b91f10495915015e05ddde68 /mm/huge_memory.c | |
parent | mm, highmem: remove page_address_pool list (diff) | |
download | linux-eb2db439a3203ae86c35ad277ac4a3268a94baa1.tar.xz linux-eb2db439a3203ae86c35ad277ac4a3268a94baa1.zip |
mm, highmem: get virtual address of the page using PKMAP_ADDR()
In flush_all_zero_pkmaps(), we have an index of the pkmap associated with
the page. Using this index, we can simply get virtual address of the
page. So change it.
Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Minchan Kim <minchan@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions