[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160506182204.GG48432@f23x64.localdomain>
Date: Fri, 6 May 2016 11:22:04 -0700
From: Darren Hart <dvhart@...radead.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Darren Hart <darren@...art.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
Michael Kerrisk <mtk.manpages@...glemail.com>,
Davidlohr Bueso <dave@...olabs.net>, Chris Mason <clm@...com>,
Carlos O'Donell <carlos@...hat.com>,
Torvald Riegel <triegel@...hat.com>,
Eric Dumazet <edumazet@...gle.com>
Subject: Re: [patch V2 4/7] futex: Add sysctl knobs for process private hash
On Thu, May 05, 2016 at 08:44:05PM -0000, Thomas Gleixner wrote:
> From: Sebastian Siewior <bigeasy@...utronix.de>
>
> To adjust the default hash size and the maximum hash size for process private
> futexes we add the following sysctls:
>
> futex_private_default_hash_bits:
>
> Adjusts the default hash size (in bits) which is used for automatic hash
> allocations on the first futex operation
>
> futex_private_max_hash_bits:
>
> Adjusts the maximum hash size (in bits). This limits the hash size which
> can be preallocated by applications with the FUTEX_PREALLOC_HASH op.
>
> Signed-off-by: Sebastian Siewior <bigeasy@...utronix.de>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> ---
> Documentation/sysctl/kernel.txt | 17 +++++++++++++++++
> include/linux/futex.h | 1 +
> kernel/futex.c | 5 +++--
> kernel/sysctl.c | 21 +++++++++++++++++++++
> 4 files changed, 42 insertions(+), 2 deletions(-)
>
> --- a/Documentation/sysctl/kernel.txt
> +++ b/Documentation/sysctl/kernel.txt
> @@ -29,6 +29,8 @@ Currently, these files might (depending
> - core_pipe_limit
> - core_uses_pid
> - ctrl-alt-del
> +- futex_private_default_hash_bits
> +- futex_private_max_hash_bits
This list (this context anyway) looks to have been alphabetical previously,
consider moving futex* between domainname and hostname?
--
Darren Hart
Intel Open Source Technology Center
Powered by blists - more mailing lists