Mailinglist Archive: opensuse-kernel (89 mails)
| < Previous | Next > |
Re: [opensuse-kernel] Re: openSUSE Kernel: Push Patches Upstream
- From: Jeff Mahoney <jeffm@xxxxxxxx>
- Date: Thu, 28 Apr 2011 21:04:22 -0400
- Message-id: <4DBA0E96.9030702@suse.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/28/2011 07:46 PM, Jeff Mahoney wrote:
Actually, it's even easier than this. The sysctl tool loads values from
the filenames it's passed. That generally means just /etc/sysctl.conf
but we could modify boot.sysctl to load a per-kernel sysctl.conf first.
It'd probably go into /boot, just like we do for .config and System.map
already. There's a /etc/sysctl.d on my system, but it's part of systemd
and loads after /etc/sysctl.conf.
For now, we'd only need a sysctl.conf-2.6.39-rc4-12-desktop that
contains the following line:
vm.dirty_ratio = 20
There were two other things related to KERNEL_DESKTOP: Preemption and
cgroups. Since systemd requires cgroups, they're now enabled everywhere
anyway. We can probably remember to keep CONFIG_PREEMPT=y on the desktop
flavors on our own, or perhaps create a mechanism to check that certain
options are enabled on certain flavors.
- -Jeff
[CC'ing Werner to comment on the idea]
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAk26DpYACgkQLPWxlyuTD7I9/wCferzXGTpSsS1pjRi0hHrREXFb
hCgAn0/E3sMTwpuRbSJdRPT4qr4syLF3
=FPns
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx
Hash: SHA1
On 04/28/2011 07:46 PM, Jeff Mahoney wrote:
On 04/28/2011 06:17 PM, Jan Kara wrote:
On Thu 28-04-11 13:35:13, Jeff Mahoney wrote:
-----BEGIN PGP SIGNED MESSAGE-----This is dependent on SUSE-specific CONFIG_KERNEL_DESKTOP. General update
Jan Kara:
- - patches.suse/readahead-request-tunables.patch
of the defaults probably wouldn't pass. So I think we have to carry this
one...
Ok, I had this one in mind if Suresh has any luck getting the tunable
defaults upstream - or if we end up working with sysctls instead. An
interesting side-idea might be to add the ability for the sysctl utility
to load a kernel-specific sysctl.conf that we ship with each flavor and
then apply the system values on top of those, overriding the ones that
collide. We'd get the benefits without the kernel patches.
Actually, it's even easier than this. The sysctl tool loads values from
the filenames it's passed. That generally means just /etc/sysctl.conf
but we could modify boot.sysctl to load a per-kernel sysctl.conf first.
It'd probably go into /boot, just like we do for .config and System.map
already. There's a /etc/sysctl.d on my system, but it's part of systemd
and loads after /etc/sysctl.conf.
For now, we'd only need a sysctl.conf-2.6.39-rc4-12-desktop that
contains the following line:
vm.dirty_ratio = 20
There were two other things related to KERNEL_DESKTOP: Preemption and
cgroups. Since systemd requires cgroups, they're now enabled everywhere
anyway. We can probably remember to keep CONFIG_PREEMPT=y on the desktop
flavors on our own, or perhaps create a mechanism to check that certain
options are enabled on certain flavors.
- -Jeff
[CC'ing Werner to comment on the idea]
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAk26DpYACgkQLPWxlyuTD7I9/wCferzXGTpSsS1pjRi0hHrREXFb
hCgAn0/E3sMTwpuRbSJdRPT4qr4syLF3
=FPns
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx
| < Previous | Next > |