lists in smp

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

 



Hi,

For what operations do linked lists require locking in an smp-enabled kernel?

In comments for list_empty_careful() it says it only protects against
a list_del_init(). Also all the safe traversal macros, do they have
any issue with list_add() during traversal? IOW, what can you *not* do
with these safe versions and need a lock?

Thanks,
Bahadir

--
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