spin locks and SMP xnu?
spin locks and SMP xnu?
- Subject: spin locks and SMP xnu?
- From: Parav Pandit <email@hidden>
- Date: Mon, 3 Apr 2006 07:47:16 +0100 (BST)
Hi,
Help me to understand the xnu SMP kernel.
1. In SMP xnu environement on Power MAC G5 system, both the processors share the same kernel address space, because we have only one copy of kernel symbol table.
2. Does it mean that both the processors will have the same page table or TLB entries for kernel space code (kernel, drivers, filesystem)?
3. Each processor will run its own schedular but both of them will share the same task queue to pick up the task to execute. Is that correct?
4. We compile linux kernel for uniprocessor or SMP enviornment. This uni or SMP decide the code for the spin locks. Either disable/enable interrupt for uniprocessor or Do the spinning and locking operation in addition to disabling inetrrupts.
We don't do this compliation stuff for the xnu kernel; how xnu kernel takes care of
this code optimization and functionality ?
Regards,
Parav Pandit
Jiyo cricket on
Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden