differences in between 2.0 and 2.1 SMP?
What are the architectural differences between SMP code in 2.0 and 2.1? I'm a very beginner kernel hacker and I'm still in the code grepping stage...
it seems to me that only one of the CPUs can execute the kernel code... is that correct?
Sorry for the dumb question
Thanks
Paolo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines
What are the architectural differences between SMP code in 2.0 and 2.1? I'm a very beginner kernel hacker and I'm still in the code grepping stage...
it seems to me that only one of the CPUs can execute the kernel code... is that correct?
2.0.x only one CPU is _running_ in kernel at a time (others may be sleeping on things but inside a kernel sleep). IRQs are forwarded to the CPU that has the lock
2.1.x IRQs are taken on all CPUs spin locks guard data structures some kernel subsystems are not subject to the main kernel lock at all
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/