Skip to content

Commit

Permalink
Documentation: teaching: lectures: smp: add ticket spinlock reference
Browse files Browse the repository at this point in the history
Add reference to LWN ticket spinlock article.

Signed-off-by: Octavian Purdila <tavi@cs.pub.ro>
  • Loading branch information
tavip committed Mar 30, 2020
1 parent d5d0dd8 commit 823d8b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/teaching/lectures/smp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,8 @@ reduce power consumption.

A similar implementation with support for fairness (the CPU cores are
allowed in the critical section based on the time of arrival) is used
in the Linux kernel (the ticket spin lock) for many architectures.
in the Linux kernel (the `ticket spin lock <https://lwn.net/Articles/267968/>`_)
for many architectures.

However, for the x86 architecture, the current spin lock
implementation uses a queued spin lock where the CPU cores spin on
Expand Down

0 comments on commit 823d8b0

Please sign in to comment.