Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 27 Jul 2002 19:10:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 27 Jul 2002 19:10:15 -0400 Received: from pc2-cwma1-5-cust12.swa.cable.ntl.com ([80.5.121.12]:59121 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Sat, 27 Jul 2002 19:10:14 -0400 Subject: RE: About the need of a swap area From: Alan Cox To: Buddy Lumpkin Cc: Austin Gonyou , vda@port.imtp.ilyichevsk.odessa.ua, Ville Herva , DervishD , Linux-kernel In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Date: 28 Jul 2002 01:28:09 +0100 Message-Id: <1027816089.21516.9.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1148 Lines: 23 On Sun, 2002-07-28 at 00:01, Buddy Lumpkin wrote: > Are you implying that it should be looking for pages to swap out this whole > time to free up more space for filesystem and executable pages purely based > on lru? Have you done testing to prove that this is a better approach than > setting a threshold of when to wake up the lru mechanism? Not all the time - when there is pressure to find more pages. > Solaris keeps dirty pages after they have been flushed to their backing > store, it's just when the system has to choose something to flush that it > preferences filesystem over anonymous and executable, what's wrong with > that? Many of its pages are both file system and executable. Solaris shares read-only pages between the caches and the mappings into process spaces. I can understand favouring flushing mapped files because swap is generally slower than restoring a file backed mapping - 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/