lkml.org 
[lkml]   [2016]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [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@linutronix.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@linutronix.de>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.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

\
 
 \ /
  Last update: 2016-05-06 20:41    [W:0.287 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site