DragonFly BSD
DragonFly commits List (threaded) for 2009-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Garbage collect ghost sysctl.


From: Alexander Polakov <polachok@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 8 Nov 2009 14:30:39 -0800 (PST)

commit aefc0c83985eb3387b4e629771713496e9508154
Author: Stathis Kamperis <beket@dragonflybsd.org>
Date:   Sun Nov 8 01:08:47 2009 +0200

    Garbage collect ghost sysctl.
    
    p1003_1b.mq_open_max sysctl:
    
    1. Has never worked properly (displayed a wrong value).
    2. Didn't allow for its value to be tuned.
    3. Is non-standard, so no 3rd party should rely on it. And, thus, noone
       should be harmed by its removal.
       The canonical way to get the maximum open message queue descriptors
       per process is via the sysconf(3) interface.
    4. Has now been replaced by kern.mqueue.mq_open_max sysctl which
       addresses 1. and 2.
    
    A stub has been inserted in place of the old sysctl definitions, in order to
    reduce unnecessary diffs due to renumbering. This patch does NOT introduce
    p1003_1b.unused1.
    
    Partially-discussed-with: swildner@

Summary of changes:
 sys/kern/kern_posix4_mib.c |    1 -
 sys/sys/sysctl.h           |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aefc0c83985eb3387b4e629771713496e9508154


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]