On Tue, Jan 23, 2007 at 10:56:23PM +0000, Adam Litke wrote:
<snip>
> + b = mmap(0, hpage_size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
> + if (b != MAP_FAILED) {
> + munmap(b, hpage_size);
> + } else
> + FAIL("mmap");
> +
> + if ((pid = fork()) < 0)
> + FAIL("fork");
> +
> + if (pid == 0) {
> + while (1) { alloca(16*1024*1024); }
Heh, I was thinking I'd send you a proper testcase that does all this,
but you beat me to it
Cool :-)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel