Re: lock_kernel: why it is empty?

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

 



Hi...

>
> No, in the SMP case, lock_kernel() is of course not empty. Have a look
> at include/linux/smp_lock.h. It defines lock_kernel() as empty only if
> CONFIG_LOCK_KERNEL is false (otherwise one of the two non-empty
> implementations of lock_kernel() in lib/kernel_lock.c is used).

Thanks for the clarification Thomas. I am a bit rusty lately :(

regards,

Mulyadi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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