login
Header Space

 
 

Re: get_online_cpus() && workqueues

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Gautham R Shenoy <ego@...>
Cc: Heiko Carstens <heiko.carstens@...>, Peter Zijlstra <peterz@...>, Johannes Berg <johannes@...>, Martin Schwidefsky <schwidefsky@...>, Srivatsa Vaddagiri <vatsa@...>, <linux-kernel@...>
Date: Monday, April 28, 2008 - 6:56 am

On 04/28, Gautham R Shenoy wrote:

Yes, I see, thanks. Heiko has pointed this too.


Yes, possible, but it is not nice that work->func() can't just use
get_online_cpus()...


Yes, but this is different. Please note also that this particular
work must not use get_online_cpus(), no matter what changes we can
make. Otherwise cancel_delayed_work_sync() can deadlock.

What do you think about another patch I sent? I am not happy with it,
and it certainly uglifies cpu.c, but it is simple...

Oleg.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
get_online_cpus() &amp;&amp; workqueues, Oleg Nesterov, (Sat Apr 26, 10:43 am)
Re: get_online_cpus() &amp;&amp; workqueues, Gautham R Shenoy, (Mon Apr 28, 7:57 am)
Re: get_online_cpus() &amp;&amp; workqueues, Gautham R Shenoy, (Mon Apr 28, 3:02 am)
Re: get_online_cpus() && workqueues, Oleg Nesterov, (Mon Apr 28, 6:56 am)
Re: get_online_cpus() &amp;&amp; workqueues, Gautham R Shenoy, (Mon Apr 28, 8:03 am)
Re: get_online_cpus() &amp;&amp; workqueues, Oleg Nesterov, (Mon Apr 28, 8:40 am)
Re: get_online_cpus() &amp;&amp; workqueues, Heiko Carstens, (Sun Apr 27, 8:22 am)
Re: get_online_cpus() &amp;&amp; workqueues, Oleg Nesterov, (Sun Apr 27, 10:25 am)
speck-geostationary