lkml.org 
[lkml]   [2005]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RT patch acceptance

* Andrea Arcangeli <andrea@suse.de> wrote:

> > So if PREEMPT-RT would use a soft cli/sti emulation, no problem should
> > arise.
>
> So I wonder why it doesn't do that and it leaves local_irq_disable
> uncovered [...]
>
> Perhaps that's planned and not yet implemented?

yes. As i said in an earlier mail:

> > (there are still some ways to introduce latencies into PREEMPT_RT,
> > but they are not common and we are working on ways to cover them
> > all.)

local_irq_disable() is one way, preempt_disable() is another way. Adding
asm("cli") to your driver is a third way. In practice these items are
not a big issue, so i'm not yet covering them. It's a small detail.
Check the amount of local-irq-disable instances in the driver space vs.
spinlock use.

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

\
 
 \ /
  Last update: 2005-06-01 21:46    [W:0.411 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site