Re: [patch] remove hugetlb syscalls

David Mosberger-Tang
2002-11-14T17:45:04Z

>>>>> On Thu, 14 Nov 2002 15:20:10 +0100, Christoph Hellwig <hch@infradead.org> said:

Christoph> mount -t hugetlbfs whocares /huge

Christoph> fd = open("/huge/nose", ..)

Christoph> mmap(.., fd, ..)

One potential downside of this is that programmers might expect
mremap(), mprotect() etc. to work on the returned memory at the
granularity of base-pages. I'm not sure though whether that was part
of the reason Linus wanted separate syscalls.

--david