lock_kernel()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux