Subject: Re: p_flag in struct proc: int -> uint64_t
To: Jason Thorpe <thorpej@shagadelic.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: tech-kern
Date: 10/09/2006 10:43:17
On Sun, Oct 08, 2006 at 05:05:54PM -0700, Jason Thorpe wrote:
>
> On Oct 8, 2006, at 1:10 AM, Juergen Hannken-Illjes wrote:
>
> >- Specificdata_setspecific() and the functions using it should also
> >work
> > (and possibly fail) if called from a non-sleepable context.
> >Either a
> > flag (WAIT/NOWAIT) or a special function xxx_nowait().
>
> Do you need INTERRUPT context? If so, it's non-trivial to support
> that, and it points to a need to restructure the calling code.
>
> Or is it simply a matter of not wanting to block while holding other
> locks?
The latter. Call xxx_set() and xxx_get() with locks held.
--
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)