Re: [Xenomai-core] [RFC] Waitqueue-free gatekeeper wakeup

2011-07-20 Thread Philippe Gerum
On Mon, 2011-07-18 at 13:52 +0200, Jan Kiszka wrote: Hi Philippe, trying to decouple the PREEMPT-RT gatekeeper wakeup path from XNATOMIC (to fix the remaining races there), I wondered why we need a waitqueue here at all. What about an approach like below, i.e. waking up the gatekeeper

[Xenomai-core] [RFC] Waitqueue-free gatekeeper wakeup

2011-07-18 Thread Jan Kiszka
Hi Philippe, trying to decouple the PREEMPT-RT gatekeeper wakeup path from XNATOMIC (to fix the remaining races there), I wondered why we need a waitqueue here at all. What about an approach like below, i.e. waking up the gatekeeper directly via wake_up_process? That could even be called from