cvs commit: src/sys/netinet sctp_bsd_addr.c

M. Warner Losh imp at bsdimp.com
Tue Jan 1 03:38:23 UTC 2008


In message: <200712311219.08286.jhb at freebsd.org>
            John Baldwin <jhb at FreeBSD.org> writes:
: On Saturday 29 December 2007 10:07:54 am Randall Stewart wrote:
: > rrs         2007-12-29 15:07:54 UTC
: > 
: >   FreeBSD src repository
: > 
: >   Modified files:        (Branch: RELENG_7_0)
: >     sys/netinet          sctp_bsd_addr.c 
: >   Log:
: >   - sctp-iterator should run at PI_NET priority ...not 0.
: >   Approved by:    re at freebsd.org(gnn)
: >   
: >   Revision  Changes    Path
: >   1.14.4.1  +1 -1      src/sys/netinet/sctp_bsd_addr.c
: 
: The more correct fix though is to do a 'sched_prio()' at the start of the 
: thread's main loop to set the priority and then not adjust it via msleep().  
: Kernel threads really should never pass a priority to msleep() but always '0' 
: (which means "don't change my priority").

Not PZERO?  When should one use PZERO and when should one use a bare
'0'?  Can this information be added to the man page?

Warner


More information about the cvs-all mailing list