Adam Litke 2e9b367c22 [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>
2005-10-29 21:40:43 -07:00
..
2005-10-29 21:40:42 -07:00
2005-10-04 13:22:01 -07:00
2005-09-21 10:12:18 -07:00
2005-09-30 12:41:18 -07:00
2005-10-28 08:16:47 -07:00
2005-10-28 08:16:47 -07:00
2005-08-06 09:42:06 -07:00
2005-10-28 08:16:47 -07:00
2005-10-29 21:40:42 -07:00
2005-09-23 12:38:47 -04:00
2005-05-05 16:36:47 -07:00
2005-10-28 10:13:16 -07:00
2005-10-29 21:40:42 -07:00
2005-07-12 20:38:38 -07:00
2005-05-05 16:36:47 -07:00
2005-10-28 08:16:47 -07:00
2005-10-29 21:40:42 -07:00
2005-07-12 16:01:02 -07:00
2005-10-28 08:16:47 -07:00
2005-10-29 21:40:39 -07:00
2005-10-28 08:16:47 -07:00
2005-10-29 21:40:40 -07:00
2005-09-09 13:57:55 -07:00
2005-10-28 08:16:47 -07:00
2005-10-23 16:38:39 -07:00
2005-10-18 14:20:21 -07:00
2005-10-28 08:16:47 -07:00
2005-10-08 15:00:57 -07:00
2005-09-10 10:06:22 -07:00
2005-09-09 13:57:55 -07:00