Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-26 Thread Alexander Graf
Sven-Haegar Koch wrote: > On Tue, 25 Feb 2014, Dave Hansen wrote: > > >> On 02/25/2014 03:09 PM, Alexander Graf wrote: >> Couldn't we also (maybe in parallel) just teach the sysctl userspace about sysfs? This way we don't have to do parallel sysctls and sysfs for *EVERYTHING

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-26 Thread Sven-Haegar Koch
On Tue, 25 Feb 2014, Dave Hansen wrote: > On 02/25/2014 03:09 PM, Alexander Graf wrote: > >> Couldn't we also (maybe in parallel) just teach the sysctl userspace > >> about sysfs? This way we don't have to do parallel sysctls and sysfs > >> for *EVERYTHING* in the kernel: > >> > >>sysfs.kerne

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-26 Thread Alexander Graf
> Am 26.02.2014 um 09:05 schrieb Hugh Dickins : > >> On Tue, 25 Feb 2014, Johannes Weiner wrote: >>> On Tue, Feb 25, 2014 at 12:28:04AM +0100, Alexander Graf wrote: >>> Configuration of tunables and Linux virtual memory settings has >>> traditionally >>> happened via sysctl. Thanks to that ther

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Hugh Dickins
On Tue, 25 Feb 2014, Johannes Weiner wrote: > On Tue, Feb 25, 2014 at 12:28:04AM +0100, Alexander Graf wrote: > > Configuration of tunables and Linux virtual memory settings has > > traditionally > > happened via sysctl. Thanks to that there are well established ways to make > > sysctl configurati

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Dave Hansen
On 02/25/2014 03:09 PM, Alexander Graf wrote: >> Couldn't we also (maybe in parallel) just teach the sysctl userspace >> about sysfs? This way we don't have to do parallel sysctls and sysfs >> for *EVERYTHING* in the kernel: >> >>sysfs.kernel.mm.transparent_hugepage.enabled=enabled > > It's p

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Kay Sievers
On Tue, Feb 25, 2014 at 6:34 PM, Dave Hansen wrote: > On 02/24/2014 03:28 PM, Alexander Graf wrote: >> Configuration of tunables and Linux virtual memory settings has traditionally >> happened via sysctl. Thanks to that there are well established ways to make >> sysctl configuration bits persisten

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Kay Sievers
On Wed, Feb 26, 2014 at 12:16 AM, Alexander Graf wrote: > > >>> Am 26.02.2014 um 01:19 schrieb Peter Zijlstra : >>> On Tue, Feb 25, 2014 at 12:15:28PM -0500, Johannes Weiner wrote: On Tue, Feb 25, 2014 at 12:28:04AM +0100, Alexander Graf wrote: Configuration of tunables and Linux vi

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Alexander Graf
>> Am 26.02.2014 um 01:19 schrieb Peter Zijlstra : >> >>> On Tue, Feb 25, 2014 at 12:15:28PM -0500, Johannes Weiner wrote: >>> On Tue, Feb 25, 2014 at 12:28:04AM +0100, Alexander Graf wrote: >>> Configuration of tunables and Linux virtual memory settings has >>> traditionally >>> happened via s

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Alexander Graf
> Am 26.02.2014 um 01:34 schrieb Dave Hansen : > >> On 02/24/2014 03:28 PM, Alexander Graf wrote: >> Configuration of tunables and Linux virtual memory settings has traditionally >> happened via sysctl. Thanks to that there are well established ways to make >> sysctl configuration bits persisten

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Dave Hansen
On 02/24/2014 03:28 PM, Alexander Graf wrote: > Configuration of tunables and Linux virtual memory settings has traditionally > happened via sysctl. Thanks to that there are well established ways to make > sysctl configuration bits persistent (sysctl.conf). > > KSM introduced a sysfs based configu

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Peter Zijlstra
On Tue, Feb 25, 2014 at 12:15:28PM -0500, Johannes Weiner wrote: > On Tue, Feb 25, 2014 at 12:28:04AM +0100, Alexander Graf wrote: > > Configuration of tunables and Linux virtual memory settings has > > traditionally > > happened via sysctl. Thanks to that there are well established ways to make >

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Johannes Weiner
On Tue, Feb 25, 2014 at 12:28:04AM +0100, Alexander Graf wrote: > Configuration of tunables and Linux virtual memory settings has traditionally > happened via sysctl. Thanks to that there are well established ways to make > sysctl configuration bits persistent (sysctl.conf). > > KSM introduced a s

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Rik van Riel
On 02/24/2014 06:28 PM, Alexander Graf wrote: > Configuration of tunables and Linux virtual memory settings has traditionally > happened via sysctl. Thanks to that there are well established ways to make > sysctl configuration bits persistent (sysctl.conf). > > KSM introduced a sysfs based configu

[PATCH] ksm: Expose configuration via sysctl

2014-02-24 Thread Alexander Graf
Configuration of tunables and Linux virtual memory settings has traditionally happened via sysctl. Thanks to that there are well established ways to make sysctl configuration bits persistent (sysctl.conf). KSM introduced a sysfs based configuration path which is not covered by user space persisten