Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2009 22:01:32 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_sysctl.c
Message-ID:  <200905142201.n4EM1cdU087753@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2009-05-14 22:01:32 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_sysctl.c 
  Log:
  SVN rev 192125 on 2009-05-14 22:01:32Z by jhb
  
  - Use a separate sx lock to try to limit the number of concurrent userland
    sysctl requests to avoid wiring too much user memory.  Only grab this
    lock if the user's old buffer is larger than a page as a tradeoff to
    allow more concurrency for common small requests.
  - Just use a shared lock on the sysctl tree for user sysctl requests now.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.193     +16 -7     src/sys/kern/kern_sysctl.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905142201.n4EM1cdU087753>