summaryrefslogtreecommitdiff
path: root/mm/page_table_check.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2022-08-19 00:07:41 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-09-12 06:25:56 +0300
commit08262ac50a7e4d70ee92b34746ea54a0ba51739a (patch)
treee92539d9cbf55d51bf5d70e0b28b252177b2a443 /mm/page_table_check.c
parentb8dd3ee9cacc2398700e5227931988931871e020 (diff)
downloadlinux-08262ac50a7e4d70ee92b34746ea54a0ba51739a.tar.xz
mm/vmalloc.c: support HIGHMEM pages in vmap_pages_range_noflush()
If the pages being mapped are in HIGHMEM, page_address() returns NULL. This probably wasn't noticed before because there aren't currently any architectures with HAVE_ARCH_HUGE_VMALLOC and HIGHMEM, but it's simpler to call page_to_phys() and futureproofs us against such configurations existing. Link: https://lkml.kernel.org/r/Yv6qHc6e+m7TMWhi@casper.infradead.org Fixes: 121e6f3258fe ("mm/vmalloc: hugepage vmalloc mappings") Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: William Kucharski <william.kucharski@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Uladzislau Rezki <urezki@gmail.com> Cc: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_table_check.c')
0 files changed, 0 insertions, 0 deletions