From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752075Ab0KDCoR (ORCPT ); Wed, 3 Nov 2010 22:44:17 -0400 Received: from mail-qw0-f46.google.com ([209.85.216.46]:34488 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750793Ab0KDCoO (ORCPT ); Wed, 3 Nov 2010 22:44:14 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; b=T5b6Wh0vAOtbRahuJG/T6cMKGvHKSCEOFAbPNHr0h0YubncC+BNogCi0A1FK1KGRGA 54j6jEzPUJkeX+SXrKpek5Lli9BTJknR2wT2nTwEvPcJCAS4IaAfgX57QXuA+9t58PlL 6ktjLIK1h3Q93qo+wWlYHHUf6HQTvUlk6k64M= From: Ben Gamari To: Hiroyuki Kamezawa Cc: David Rientjes , KAMEZAWA Hiroyuki , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jesper Juhl , Wu Fengguang Subject: Re: [PATCH] Add Kconfig option for default swappiness In-Reply-To: References: <1288668052-32036-1-git-send-email-bgamari.foss@gmail.com> <87oca7evbo.fsf@gmail.com> User-Agent: Notmuch/0.3.1-158-g04cd99c (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) Date: Wed, 03 Nov 2010 22:44:11 -0400 Message-ID: <87eib1byf8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2 Nov 2010 23:34:27 +0900, Hiroyuki Kamezawa wrote: > Hmm, then, can't we add a sysctl template config/script for generic > sysctl values ? > That is one idea. Unfortunately, then we have something of a dependency on out of tree userspace utilities. > Adding this kind of CONFIG one by one seems not very helpful... > This was definitely a concern of mine as well. In principle, a distribution might want to tune any of the knobs in /proc/sys, so I agree that adding them to Kconfig is a bit of a poor path to go down. That being said, swappiness is an especially important tunable. - Ben From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id 6C6486B00A9 for ; Wed, 3 Nov 2010 22:44:15 -0400 (EDT) Received: by qwi2 with SMTP id 2so823280qwi.14 for ; Wed, 03 Nov 2010 19:44:13 -0700 (PDT) From: Ben Gamari Subject: Re: [PATCH] Add Kconfig option for default swappiness In-Reply-To: References: <1288668052-32036-1-git-send-email-bgamari.foss@gmail.com> <87oca7evbo.fsf@gmail.com> Date: Wed, 03 Nov 2010 22:44:11 -0400 Message-ID: <87eib1byf8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org To: Hiroyuki Kamezawa Cc: David Rientjes , KAMEZAWA Hiroyuki , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jesper Juhl , Wu Fengguang List-ID: On Tue, 2 Nov 2010 23:34:27 +0900, Hiroyuki Kamezawa wrote: > Hmm, then, can't we add a sysctl template config/script for generic > sysctl values ? > That is one idea. Unfortunately, then we have something of a dependency on out of tree userspace utilities. > Adding this kind of CONFIG one by one seems not very helpful... > This was definitely a concern of mine as well. In principle, a distribution might want to tune any of the knobs in /proc/sys, so I agree that adding them to Kconfig is a bit of a poor path to go down. That being said, swappiness is an especially important tunable. - Ben -- 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