Hi,
I have a question on
lock_kernel() macro? it does nothing in case of single processor. But in multi
processor it does a spinlock on a kernel global flag. What is the semantic of
this macro? If once called (lock_kernel) then all the subsequent calls to the
same macro will be blocked until unlock_kernel is called??
If that is the case many device drivers use this
call even while around the calls that sleep.
If anyone could help me, that would be of great
help.
-Smaillboy.
Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |