Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760742AbXH3OPQ (ORCPT ); Thu, 30 Aug 2007 10:15:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756089AbXH3OPE (ORCPT ); Thu, 30 Aug 2007 10:15:04 -0400 Received: from smtp2a.orange.fr ([80.12.242.139]:20060 "EHLO smtp2a.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754981AbXH3OPB (ORCPT ); Thu, 30 Aug 2007 10:15:01 -0400 X-ME-UUID: 20070830141501276.06BE97000098@mwinf2a07.orange.fr Subject: Re: speeding up swapoff From: Xavier Bestel To: Helge Hafting Cc: Robert Hancock , Daniel Drake , Arjan van de Ven , linux-mm@kvack.org, linux-kernel@vger.kernel.org In-Reply-To: <46D6CEF3.3070701@aitel.hist.no> References: <46D61F48.5090406@shaw.ca> <46D6CC35.90207@aitel.hist.no> <1188482815.1131.374.camel@frg-rhel40-em64t-04> <46D6CEF3.3070701@aitel.hist.no> Content-Type: text/plain Date: Thu, 30 Aug 2007 16:14:57 +0200 Message-Id: <1188483297.1131.377.camel@frg-rhel40-em64t-04> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-27) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 780 Lines: 23 On Thu, 2007-08-30 at 16:06 +0200, Helge Hafting wrote: > Xavier Bestel wrote: > > On Thu, 2007-08-30 at 15:55 +0200, Helge Hafting wrote: > > > >> If the swap device is full, then there is no need for random > >> seeks as the swap pages can be read in disk order. > >> > > > > If the swap file is full, you probably have a machine dead into a swap > > storm. > Only if you have enough swap. :-) Yeah, sure. But these days disk space is cheap and I tend to put too big swap partitions, and I always regret it later ... Xav - 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/