Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2003 09:47:05 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org
Subject:   dubious sleep priorities in cv family
Message-ID:  <20030317080500.E15368@gamplex.bde.org>

next in thread | raw e-mail | index | archive | help
Everything in kern_condvar.c uses a special form of sleeping which
doesn't change the priority to one specified by the caller like for
ordinary tsleep().  This affects at least select() and poll().  Processes
sleeping in select() do it at priority PSOCK in RELENG_4 and at the
user priority in -current.  High user priorities decay to (PUSER +
niceness) so the possibilities for priority inversion from this are
limited and it's mainly a latency bug.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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