Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 26 Jul 2002 15:16:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 26 Jul 2002 15:16:01 -0400 Received: from garrincha.netbank.com.br ([200.203.199.88]:62470 "HELO garrincha.netbank.com.br") by vger.kernel.org with SMTP id ; Fri, 26 Jul 2002 15:16:00 -0400 Date: Fri, 26 Jul 2002 16:18:56 -0300 (BRT) From: Rik van Riel X-X-Sender: riel@imladris.surriel.com To: Robert Love cc: Russell Lewis , Subject: Re: Looking for links: Why Linux Doesn't Page Kernel Memory? In-Reply-To: <1027710974.2443.39.camel@sinai> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1443 Lines: 39 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/