Re: 2.1.125 Show stopper list: Draft

David S. Miller (davem@dm.cobaltmicro.com)
Tue, 13 Oct 1998 06:36:46 -0700


From: alan@lxorguk.ukuu.org.uk (Alan Cox)
Date: Mon, 12 Oct 1998 20:54:04 +0100 (BST)

> What about the PGE/PTE problem? Any user can just mmap/munmap all possible
> (768 under x86) page tables for their process, then use up a lot of GFP_KERNEL

Do you have a demo for this ?

I think the solution is to just add PAGE_SIZE or whatever to RLIMIT_AS
every time a new page table chunk is allocated. If RLIMIT_AS cannot
be legitimately overridden like this, then add some new one and set a
sane default. If you do it the second way don't forget to notify the
glibc folks :-)

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/