diff options
author | Andy Whitcroft <apw@shadowen.org> | 2008-07-23 21:27:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 10:47:16 -0700 |
commit | e7c4b0bfd025f71cf7624b7c1be174f63caade33 (patch) | |
tree | ee81ef1fafe34ca1a4a914d0db7e5decbc122379 /mm/mmap.c | |
parent | 04f2cbe35699d22dbf428373682ead85ca1240f5 (diff) | |
download | op-kernel-dev-e7c4b0bfd025f71cf7624b7c1be174f63caade33.zip op-kernel-dev-e7c4b0bfd025f71cf7624b7c1be174f63caade33.tar.gz |
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/mmap.c')
0 files changed, 0 insertions, 0 deletions