diff options
author | Andy Whitcroft <apw@shadowen.org> | 2008-07-24 06:27:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 19:47:16 +0200 |
commit | e7c4b0bfd025f71cf7624b7c1be174f63caade33 (patch) | |
tree | ee81ef1fafe34ca1a4a914d0db7e5decbc122379 /mm/mprotect.c | |
parent | hugetlb: guarantee that COW faults for a process that called mmap(MAP_PRIVATE... (diff) | |
download | linux-e7c4b0bfd025f71cf7624b7c1be174f63caade33.tar.xz linux-e7c4b0bfd025f71cf7624b7c1be174f63caade33.zip |
huge page private reservation review cleanups
Create some new accessors for vma private data to cut down on and contain
the casts. Encapsulates the huge and small page offset calculations.
Also adds a couple of VM_BUG_ONs for consistency.
[akpm@linux-foundation.org: Make things static]
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Cc: Adam Litke <agl@us.ibm.com>
Cc: Johannes Weiner <hannes@saeurebad.de>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Michael Kerrisk <mtk.manpages@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions