]> Git Repo - linux.git/commit
x86/mm: implement free pmd/pte page interfaces
authorToshi Kani <[email protected]>
Thu, 22 Mar 2018 23:17:24 +0000 (16:17 -0700)
committerLinus Torvalds <[email protected]>
Fri, 23 Mar 2018 00:07:01 +0000 (17:07 -0700)
commit28ee90fe6048fa7b7ceaeb8831c0e4e454a4cf89
tree91da979e7fb0f1d9de2b98c578dd1c23632ed728
parentb6bdb7517c3d3f41f20e5c2948d6bc3f8897394e
x86/mm: implement free pmd/pte page interfaces

Implement pud_free_pmd_page() and pmd_free_pte_page() on x86, which
clear a given pud/pmd entry and free up lower level page table(s).

The address range associated with the pud/pmd entry must have been
purged by INVLPG.

Link: http://lkml.kernel.org/r/[email protected]
Fixes: e61ce6ade404e ("mm: change ioremap to set up huge I/O mappings")
Signed-off-by: Toshi Kani <[email protected]>
Reported-by: Lei Li <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/mm/pgtable.c
This page took 0.053404 seconds and 4 git commands to generate.