summaryrefslogtreecommitdiff
path: root/ipc/msg.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-12-29 23:47:37 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2003-12-29 23:47:37 -0800
commiteb372d22cb6676e7f00a33889774b094392342a2 (patch)
tree6d824304e9567b9fec64f83d9a133a3d3b22a526 /ipc/msg.c
parent17095c0720d64ca64d090bb4ac553c79dc9c4778 (diff)
[PATCH] hugepage pagetable freeing fix
From: "Seth, Rohit" <rohit.seth@intel.com> We recently covered a bug in mm/mmap.c on IA-64. While unmapping a address space, unmap_region calls free_pgtables to possibly free the pages that are used for page tables. Currently no distinction is made between freeing a region that is mapped by normal pages vs the pages that are mapped by hugepages. Architecture specific code needs to handle cases where PTEs corresponding to a region that is mapped by hugepages is properly getting unmapped. Attached please find a patch that makes the required changes in generic part of kernel. We will need to send a separate IA-64 patch to use this new semantics. Currently, so not to disturb the PPC (as that is the only arch that had ARCH_HAS_HUGEPAGE_ONLY_RANGE defined) we are mapping back the definition of new function hugetlb_free_pgtables to free_pgtables.
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions