From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with SMTP id 88E8C6B00B6 for ; Tue, 2 Nov 2010 10:38:20 -0400 (EDT) Date: Tue, 2 Nov 2010 22:01:20 +0800 From: Wu Fengguang Subject: Re: [PATCH] Add Kconfig option for default swappiness Message-ID: <20101102140119.GA8294@localhost> References: <1288668052-32036-1-git-send-email-bgamari.foss@gmail.com> <87oca7evbo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87oca7evbo.fsf@gmail.com> Sender: owner-linux-mm@kvack.org To: Ben Gamari Cc: David Rientjes , KAMEZAWA Hiroyuki , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Jesper Juhl , Dave Jones List-ID: On Tue, Nov 02, 2010 at 08:58:19PM +0800, Ben Gamari wrote: > On Mon, 1 Nov 2010 20:33:10 -0700 (PDT), David Rientjes wrote: > > And they can't use an init script to tune /proc/sys/vm/swappiness > > because...? > > Packaging concerns, as I mentioned before, > > On Mon, Nov 01, 2010 at 08:52:30AM -0400, Ben Gamari wrote: > > Ubuntu ships different kernels for desktop and server usage. From a > > packaging standpoint it would be much nicer to have this set in the > > kernel configuration. If we were to throw the setting /etc/sysctl.conf > > the kernel would depend upon the package containing sysctl(8) > > (procps). We'd rather avoid this and keep the default kernel > > configuration in one place. > > In short, being able to specify this default in .config is just far > simpler from a packaging standpoint than the alternatives. It's interesting to know what value you plan to use for your desktop/server systems and the rationals (is it based on any testing results?). And why it's easier to do it in kernel (hope it's not because of trouble communicating with the user space packaging team). Thanks, Fengguang -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org