* schedule() does not work...
@ 2006-05-04 14:59 benzi vizman
0 siblings, 0 replies; 2+ messages in thread
From: benzi vizman @ 2006-05-04 14:59 UTC (permalink / raw)
To: netdev
Hi,
I try to run the following code in kernel (which is similar to apm() function) but it does not seem to work...
if (smp_processor_id() != cpu) {
current->cpus_allowed = (1UL << cpu);
schedule();
if (smp_processor_id() != cpu) {
BUG();
}
}
Any idea why?
Benzi.
^ permalink raw reply [flat|nested] 2+ messages in thread
* schedule() does not work...
@ 2006-05-04 15:08 benzi vizman
0 siblings, 0 replies; 2+ messages in thread
From: benzi vizman @ 2006-05-04 15:08 UTC (permalink / raw)
To: netdev
Hi,
I try to run the following code in kernel (which is similar to apm() function) but it does not seem to work...
if (smp_processor_id() != cpu) {
current->cpus_allowed = (1UL << cpu);
schedule();
if (smp_processor_id() != cpu) {
BUG();
}
}
Any idea why?
Benzi.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-04 15:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-04 14:59 schedule() does not work benzi vizman
-- strict thread matches above, loose matches on Subject: below --
2006-05-04 15:08 benzi vizman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).