Re: Pin-pointing the root of unusual application latencies

From: Karsten Wiese
Date: Wed Jul 25 2007 - 12:30:49 EST


Am Mittwoch, 25. Juli 2007 schrieb John Sigler:
> Karsten Wiese wrote:
>
> > John Sigler wrote:
> >
> >> Is there some form of priority inheritance? Does the IRQ handler get a
> >> priority boost if a high priority task is waiting for it?
> >
> > No. But that would be "nice to have".
>
> No to the first question? to the second question? or to both? :-)
>
To the second.
I checked some soundcard drivers some time ago in -rt kernels, looking for
that "priority boosted by consuming process threaded interrupt handler".
Then there was no such.

> In kernel/futex.c does "PI" stand for Priority Inheritance?
>
I guess so, yes.

> e.g.
>
> /*
> * Priority Inheritance state:
> */
> struct futex_pi_state {
> /*
> * list of 'owned' pi_state instances - these have to be
> * cleaned up in do_exit() if the task exits prematurely:
> */
> struct list_head list;
>
> /*
> * The PI object:
> */
> struct rt_mutex pi_mutex;
>
> struct task_struct *owner;
> atomic_t refcount;
>
> union futex_key key;
> };
>
>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/