From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758800AbcEFSWJ (ORCPT ); Fri, 6 May 2016 14:22:09 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:59514 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758642AbcEFSWH (ORCPT ); Fri, 6 May 2016 14:22:07 -0400 Date: Fri, 6 May 2016 11:22:04 -0700 From: Darren Hart To: Thomas Gleixner Cc: LKML , Sebastian Andrzej Siewior , Linus Torvalds , Darren Hart , Peter Zijlstra , Ingo Molnar , Michael Kerrisk , Davidlohr Bueso , Chris Mason , "Carlos O'Donell" , Torvald Riegel , Eric Dumazet Subject: Re: [patch V2 4/7] futex: Add sysctl knobs for process private hash Message-ID: <20160506182204.GG48432@f23x64.localdomain> References: <20160505204230.932454245@linutronix.de> <20160505204354.146402042@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160505204354.146402042@linutronix.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 05, 2016 at 08:44:05PM -0000, Thomas Gleixner wrote: > From: Sebastian Siewior > > 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 > Signed-off-by: Thomas Gleixner > --- > 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