Re: Looking for links: Why Linux Doesn't Page Kernel Memory?

Rik van Riel (riel@conectiva.com.br)
Fri, 26 Jul 2002 16:18:56 -0300 (BRT)


On 26 Jul 2002, Robert Love wrote:
> On Fri, 2002-07-26 at 12:10, Rik van Riel wrote:
> > On 26 Jul 2002, Robert Love wrote:
> >
> > > Better question is, why would we have page-able kernel memory?
> >
> > We don't want to have generic page-able kernel memory.
> >
> > However, it might be useful to be able to reclaim or page
> > out data structures that might otherwise gobble up all of
> > RAM and crash the machine, say page tables.
>
> I agree a better solution than high-pte is probably needed. Shared page
> tables and/or large page tables insufficient?

Large pages and/or shared page tables should be more than
sufficient to handle all 'benign' real workloads.

However, 'malicious' workloads can easily generate the
need for more pagetables than what will fit into physical
RAM; at that point you just _have_ to throw some of these
page tables out of RAM. If the data can be reconstructed
from the VMA and the page cache, we can just blow the page
table away. If it can't, we have to come up with another
solution (maybe as simple as killing the application).

regards,

Rik

-- 
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/ http://distro.conectiva.com/

- 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/