Messages in this thread Patch in this message | | | Date | Fri, 6 May 2016 11:22:04 -0700 | From | Darren Hart <> | 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@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
| |