Results 1 to 1 of 1
Hi!
I want to migrate current task to another CPU without the help migration thread. Because using migration thread causes extra context switch.
In function schedule():
before pick_next_task(), I delete ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-15-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 3
puzzling schedule() question
Hi!
I want to migrate current task to another CPU without the help migration thread. Because using migration thread causes extra context switch.
In function schedule():
before pick_next_task(), I delete task from run queue by invoking deactivate_task().
After executing context_switch(), the executing stream seems stop. It is very difficult to debug.
I add printk() under the context_switch(), there is no output message. However,
I add printk() at the last line in context_switch(), there is output message.
I'm puzzled for days.
Is there anyone kind enough to give me some tips?
Thanks.


Reply With Quote
