Subject: Re: sobj_changepri (Re: CVS commit: [newlock2] src/sys)
To: YAMAMOTO Takashi <>
From: Andrew Doran <>
List: tech-kern
Date: 02/22/2007 17:04:10
On Thu, Feb 22, 2007 at 08:13:29PM +0900, YAMAMOTO Takashi wrote:

> > Log Message:
> > - Change syncobj_t::sobj_changepri() to alter both the user priority and
> >   the effective priority of LWPs. How the effective priority is adjusted
> >   depends on the type of object.
> i'm not sure if it was a good idea.
> priority inheritance needs a way to change the effective priority only.

At the time, it seemed like a reasonable accommodation to make so we can
handle the different behaviour of tsleep and condition variables. I figured
we would need another method like sobj_lendpri later on. If you can see a
better way of doing it, please change it.