git: kernel - Increase flock() / posix-lock limit

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 13 23:20:10 PDT 2017


commit 9c79791a7826bb80b5ddc3e0959294da9af61703
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Aug 13 23:17:27 2017 -0700

    kernel - Increase flock() / posix-lock limit
    
    * Change the scaling for kern.maxposixlocksperuid to be based on maxproc
      instead of maxusers.
    
    * Increase the default cap to approximately 4 * maxproc.  This can lead
      to what may seem to be large numbers, but certain applications might use
      posix locks heavily and overhead is low.  We generally want the cap to
      be large enough that it never has to be overridden.

Summary of changes:
 sys/kern/subr_param.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c79791a7826bb80b5ddc3e0959294da9af61703


-- 
DragonFly BSD source repository



More information about the Commits mailing list