Re: [patch] remove hugetlb syscalls

David Mosberger-Tang (David.Mosberger@acm.org)
14 Nov 2002 09:51:55 -0800


>>>>> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/