lkml.org 
[lkml]   [2002]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] remove hugetlb syscalls
From
Date
>>>>> 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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.085 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site