summaryrefslogtreecommitdiffstats
path: root/include/asm-arm26/tlbflush.h
diff options
context:
space:
mode:
authorAdam Litke2005-10-30 02:16:47 +0100
committerLinus Torvalds2005-10-30 05:40:43 +0100
commit2e9b367c2273ed21c9852a04d90944d472c4f3e6 (patch)
tree75e802f07a8c4f0554547e8dd795f544c7e9d7e8 /include/asm-arm26/tlbflush.h
parent[PATCH] hugetlb: demand fault handler (diff)
downloadkernel-qcow2-linux-2e9b367c2273ed21c9852a04d90944d472c4f3e6.tar.gz
kernel-qcow2-linux-2e9b367c2273ed21c9852a04d90944d472c4f3e6.tar.xz
kernel-qcow2-linux-2e9b367c2273ed21c9852a04d90944d472c4f3e6.zip
[PATCH] hugetlb: overcommit accounting check
Basic overcommit checking for hugetlb_file_map() based on an implementation used with demand faulting in SLES9. Since demand faulting can't guarantee the availability of pages at mmap time, this patch implements a basic sanity check to ensure that the number of huge pages required to satisfy the mmap are currently available. Despite the obvious race, I think it is a good start on doing proper accounting. I'd like to work towards an accounting system that mimics the semantics of normal pages (especially for the MAP_PRIVATE/COW case). That work is underway and builds on what this patch starts. Huge page shared memory segments are simpler and still maintain their commit on shmget semantics. Signed-off-by: Adam Litke <agl@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-arm26/tlbflush.h')
0 files changed, 0 insertions, 0 deletions