Re: [PATCH 1/7] work_on_cpu: helper for doing task on a CPU.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oleg Nesterov
Date: Friday, October 24, 2008 - 6:25 am

On 10/24, Gautham R Shenoy wrote:

If we add another wq for work_on_cpu(), then we add another hard-to-maintain
rule: get_online_cpus() must not be used by any work which can be queued
on that wq. And, yet another per-cpu thread...

Personally I don't even think we need a BUG_ON() in work_on_cpu(), because
I don't think cpu-hotplug path is so special.

Not that I have a strong opinion though.

Oleg.

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

Messages in current thread:
[PATCH 1/7] work_on_cpu: helper for doing task on a CPU., Rusty Russell, (Wed Dec 31, 5:00 pm)
Re: [PATCH 2.6.19] mmc: Add support for SDHC cards, Pierre Ossman, (Mon Jan 1, 10:49 am)
Re: [PATCH 1/7] work_on_cpu: helper for doing task on a CPU., Gautham R Shenoy, (Thu Oct 23, 12:22 am)
Re: [PATCH 1/7] work_on_cpu: helper for doing task on a CPU., Gautham R Shenoy, (Thu Oct 23, 7:36 am)
do_boot_cpu can deadlock?, Oleg Nesterov, (Thu Oct 23, 10:02 am)
Re: do_boot_cpu can deadlock?, Gautham R Shenoy, (Thu Oct 23, 11:21 am)
Re: do_boot_cpu can deadlock?, Cyrill Gorcunov, (Thu Oct 23, 11:49 am)
Re: [PATCH 1/7] work_on_cpu: helper for doing task on a CPU., Gautham R Shenoy, (Fri Oct 24, 12:21 am)
Re: do_boot_cpu can deadlock?, Oleg Nesterov, (Fri Oct 24, 2:33 am)
Re: do_boot_cpu can deadlock?, Gautham R Shenoy, (Fri Oct 24, 2:53 am)
Re: do_boot_cpu can deadlock?, Oleg Nesterov, (Fri Oct 24, 3:51 am)
Re: [PATCH 1/7] work_on_cpu: helper for doing task on a CPU., Gautham R Shenoy, (Fri Oct 24, 4:40 am)
Re: [PATCH 1/7] work_on_cpu: helper for doing task on a CPU., Oleg Nesterov, (Fri Oct 24, 6:25 am)
Re: [PATCH 1/7] work_on_cpu: helper for doing task on a CPU., Gautham R Shenoy, (Fri Oct 24, 6:41 am)