lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 3 Nov 2010 10:33:59 -0400
From:	Dave Jones <davej@...hat.com>
To:	Wu Fengguang <fengguang.wu@...el.com>
Cc:	Ben Gamari <bgamari.foss@...il.com>,
	David Rientjes <rientjes@...gle.com>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Jesper Juhl <jj@...osbits.net>
Subject: Re: [PATCH] Add Kconfig option for default swappiness

On Tue, Nov 02, 2010 at 10:01:20PM +0800, Wu Fengguang wrote:
 
 > > 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).

Not sure why I was cc'd on this, but at least for Fedora, we still take
the 'one kernel to rule them all' approach for every spin (and will likely
continue to do so to maximise coverage testing) so a config option for us
for things like this is moot.

Whenever I've tried to push changes to our defaults through to our
default /etc/sysctl.conf, it's been met with resistance due to beliefs
that a) the file is there for _users_ to override decisions
the distro made at build time and b) if this is the right default,
why isn't the kernel setting it?

The idea keeps coming up to have some userspace thing automatically
tune the kernel to dtrt based upon whatever profile it has been fed.
Various implementations of things like this have come and gone
(Arjan and myself even wrote one circa 2000). For whatever reason,
they don't seem to catch on.

	Dave

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ