Re: migration thread and active_load_balance

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dan Upton <upton.dan.linux@...>
Cc: <linux-kernel@...>
Date: Sunday, April 20, 2008 - 5:35 pm

"Dan Upton" <upton.dan.linux@gmail.com> writes:

[not a scheduler expert; just some general comments]


Other CPUs can access it yes subject to the lock. You can test that
theory by running with only one CPU.


That might be obvious, but are you aware that printks inside
the scheduler can lead to deadlocks? printk when the buffer
is full calls wake_up and that calls the scheduler. So for
debugging the scheduler you need some other way to get
the information out.

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

Messages in current thread:
migration thread and active_load_balance, Dan Upton, (Sun Apr 20, 2:21 pm)
Re: migration thread and active_load_balance, Andi Kleen, (Sun Apr 20, 5:35 pm)
Re: migration thread and active_load_balance, Dan Upton, (Sun Apr 20, 8:46 pm)
Re: migration thread and active_load_balance, Dmitry Adamushko, (Sun Apr 20, 5:26 pm)
Re: migration thread and active_load_balance, Dan Upton, (Sun Apr 20, 8:44 pm)
Re: migration thread and active_load_balance, Dmitry Adamushko, (Mon Apr 21, 7:03 am)
Re: migration thread and active_load_balance, Dan Upton, (Mon Apr 21, 3:38 pm)
Re: migration thread and active_load_balance, Dmitry Adamushko, (Mon Apr 21, 4:39 pm)
Re: migration thread and active_load_balance, Dan Upton, (Tue Apr 22, 3:19 pm)