Re: [RFC PATCH] Add Kconfig option for default swappiness

From: Ben Gamari
Date: Mon Nov 01 2010 - 08:52:44 EST


On Mon, 1 Nov 2010 08:43:22 -0400, Johannes Weiner <hannes@xxxxxxxxxxx> wrote:
> On Sun, Oct 31, 2010 at 02:08:28PM -0400, Ben Gamari wrote:
> > This will allow distributions to tune this important vm parameter in a more
> > self-contained manner.
>
> What's wrong with sticking
>
> vm.swappiness = <your value>
>
> into the shipped /etc/sysctl.conf?

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. This was just an RFC though; let me know if
you think this is totally insane.

- Ben
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/