Andrew Bennetts wrote:
O Plameras wrote:
Andrew Bennetts wrote:
O Plameras wrote:
[...]
So, what about what Ubunto does when it implements SMP ?
What part of this is unclear:
[...]
Spinlock is shown for UP.
What is spinlock for SMP ?
I don't know what this question has to do with Ubuntu, but anyway...
You can browse the kernel source at http://lxr.linux.no/. If you search for
"spin_lock_init", you'll see this page:
http://lxr.linux.no/ident?i=spin_lock_init, which gives links to all the various
definitions of that identifier in the source.
The ones you seem to be interested in are in include/linux/spinlock.h:
- http://lxr.linux.no/source/include/linux/spinlock.h#L104
- http://lxr.linux.no/source/include/linux/spinlock.h#L211
If I misunderstood your question, please let me know and I'll try to clarify.
I see.
O Plameras
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html