Messages in this thread | | | Date | Tue, 13 Nov 2007 10:34:14 +0100 | From | Ingo Molnar <> | Subject | Re: [patch 2.6.24-rc2 1/3] generic gpio -- gpio_chip support |
| |
* David Brownell <david-b@pacbell.net> wrote:
> > > I speculate that either the design has changed (without fanfare), > > > or else that stuff is in RT kernels and has not yet gone upstream. > > > > Well whatever. We shouldn't have to resort to caller-side party > > tricks like this to get acceptable performance. > > I'd be happy if, as originally presented, it were possible to just > pass a raw_spinlock_t to spin_lock_irqsave() and friends.
that's a spinlock type abstraction of PREEMPT_RT, not of mainline. In mainline there's basically almost never any valid reason to use a raw spinlock - please use spinlock_t instead. Why do you want to use raw_spinlock_t?
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/
| |