Re: spin locks and SMP xnu?
Re: spin locks and SMP xnu?
- Subject: Re: spin locks and SMP xnu?
- From: Parav Pandit <email@hidden>
- Date: Mon, 3 Apr 2006 08:24:43 +0100 (BST)
Hi,
I understand that simple/spin locks are not implemented in the xnu kernel but present in the IOKit as IOSimpleLocks.
Same doubts are appliable to IOSimpleLock also.
Regards,
Parav Pandit
Parav Pandit <email@hidden> wrote:
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