public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Fw: Linux v2.5.54
@ 2003-01-03  8:40 dada1
  2003-01-03  9:26 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: dada1 @ 2003-01-03  8:40 UTC (permalink / raw)
  To: Linus Torvalds, Kernel Mailing List

>   o remove hugetlb syscalls

So finally they did it ...

But mmap(NULL, ...) is not yet supported, this is really sad.

And arch/i386/Kconfig and Documentation/vm/hugetlbpage.txt still document
the sys_alloc_hugepages()/sys_free_hugepages() syscalls.

A simple program that doesnt know at all how the memory is layed out by
kernel/glibc can not easily get some 4Mo pages in a single syscall.
sys_alloc_hugepage() was very convenient for that.

Another problem :

if you mount hugetlbfs in /huge, then create a file /huge/BIG of size 4Mo,
then use :

dd if=/huge/BIG of=/dev/null

the dd process hangs on 'D' state : the read() syscall just hang forever.

Thanks


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-03  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-03  8:40 Fw: Linux v2.5.54 dada1
2003-01-03  9:26 ` Andrew Morton
2003-01-03  9:55   ` William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox