Re: runqueue locks in schedule()

2008-02-23 Thread Peter Zijlstra
On Sat, 2008-02-23 at 15:50 +0100, stephane eranian wrote: > Peter, > > > On Wed, 2008-01-16 at 16:29 -0800, stephane eranian wrote: > > > Hello, > > > > > > As suggested by people on this list, I have changed perfmon2 to use > > > the high resolution timers as the interface to allow timeout

Re: runqueue locks in schedule()

2008-02-23 Thread stephane eranian
Peter, > On Wed, 2008-01-16 at 16:29 -0800, stephane eranian wrote: > > Hello, > > > > As suggested by people on this list, I have changed perfmon2 to use > > the high resolution timers as the interface to allow timeout-based > > event set multiplexing. This works around the problems I had w

Re: runqueue locks in schedule()

2008-01-18 Thread Nick Piggin
On Friday 18 January 2008 17:33, stephane eranian wrote: > Nick, > > It is arch specific. If an architecture wants interrupts on during > > context switch, or runqueue unlocked, then they set it (btw > > INTERRUPTS_ON_CTXSW also implies UNLOCKED_CTXSW). > > Yes , I noticed that. I am only interest

Re: runqueue locks in schedule()

2008-01-17 Thread stephane eranian
Nick, On Jan 18, 2008 3:07 AM, Nick Piggin <[EMAIL PROTECTED]> wrote: > > On Friday 18 January 2008 00:24, Peter Zijlstra wrote: > > [ At the very least CC'ing the scheduler maintainer would be > > helpful :-) ] > > > > On Wed, 2008-01-16 at 16:29 -0800, stephane eranian wrote: > > > Hello, > > >

Re: runqueue locks in schedule()

2008-01-17 Thread Nick Piggin
On Friday 18 January 2008 00:24, Peter Zijlstra wrote: > [ At the very least CC'ing the scheduler maintainer would be > helpful :-) ] > > On Wed, 2008-01-16 at 16:29 -0800, stephane eranian wrote: > > Hello, > > > > As suggested by people on this list, I have changed perfmon2 to use > > the high re

Re: runqueue locks in schedule()

2008-01-17 Thread Peter Zijlstra
[ At the very least CC'ing the scheduler maintainer would be helpful :-) ] On Wed, 2008-01-16 at 16:29 -0800, stephane eranian wrote: > Hello, > > As suggested by people on this list, I have changed perfmon2 to use > the high resolution timers as the interface to allow timeout-based > event set

runqueue locks in schedule()

2008-01-16 Thread stephane eranian
Hello, As suggested by people on this list, I have changed perfmon2 to use the high resolution timers as the interface to allow timeout-based event set multiplexing. This works around the problems I had with tickless-enabled kernels. Multiplexing is supported in per-thread as well. In that case,