Make hugetlbfs maping work
authorShaohua Li <ShLi@fusionio.com>
Thu, 17 Jan 2013 12:28:15 +0000 (13:28 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 17 Jan 2013 12:28:15 +0000 (13:28 +0100)
If it's a file mapping, flags must be MAP_HARED; If it's an anonymous
mapping, flags must be MAP_PRIVATE|MAP_ANONYMOUS|MAP_HUGETLB (can be
shared, but doesn't matter here).

Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found