1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2025-01-23 22:21:41 +00:00

Update sync-2.md

This commit is contained in:
Joe Handzik 2016-04-17 22:10:59 -05:00
parent c81870a3f4
commit 0b1ad32b31

View File

@ -53,7 +53,7 @@ Before we will consider how queued spinlocks and their [API](https://en.wikipedi
Introduction to queued spinlocks Introduction to queued spinlocks
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Queued spinlocks is a [locking mechanism](https://en.wikipedia.org/wiki/Lock_%28computer_science%29) in the Linux kernel which is replacement for the standard `spinlocks`. At least this is true for the [x86_64](https://en.wikipedia.org/wiki/X86-64) archutecutre. If we will look at the following kernel configuration file - [kernel/Kconfig.locks](https://github.com/torvalds/linux/blob/master/kernel/Kconfig.locks), we will see following configuration entries: Queued spinlocks is a [locking mechanism](https://en.wikipedia.org/wiki/Lock_%28computer_science%29) in the Linux kernel which is replacement for the standard `spinlocks`. At least this is true for the [x86_64](https://en.wikipedia.org/wiki/X86-64) architecture. If we will look at the following kernel configuration file - [kernel/Kconfig.locks](https://github.com/torvalds/linux/blob/master/kernel/Kconfig.locks), we will see following configuration entries:
``` ```
config ARCH_USE_QUEUED_SPINLOCKS config ARCH_USE_QUEUED_SPINLOCKS