Home
last modified time | relevance | path

Searched full:spinlock (Results 1 – 25 of 86) sorted by relevance

1234

/Documentation/locking/
Dspinlocks.rst8 The most basic primitive for locking is spinlock::
19 spinlock itself will guarantee the global lock, so it will guarantee that
33 spinlock for most things - using more than one spinlock can make things a
47 touches a shared variable has to agree about the spinlock they want
116 (and the equivalent read-write versions too, of course). The spinlock will
122 play with the spinlock is that you can get deadlocks::
Dmutex-design.rst33 wait-queue and a spinlock that serializes access to it. Furthermore,
52 The MCS lock (proposed by Mellor-Crummey and Scott) is a simple spinlock
55 cacheline bouncing that common test-and-set spinlock implementations
59 the MCS spinlock queue when they need to reschedule. This further helps
Dhwspinlock.rst2 Hardware Spinlock Framework
8 Hardware spinlock modules provide hardware assistance for synchronization
157 or spinlock to avoid dead-lock, that will let user can do some time-consuming
239 or spinlock to avoid dead-lock, that will let user can do some time-consuming
Dlocktypes.rst257 - Task state is preserved across spinlock acquisition, ensuring that the
276 wakeup attempts to awaken a task blocked waiting for a spinlock, it
467 underlying per-CPU spinlock.
527 spinlock. This results in the following nesting ordering:
/Documentation/devicetree/bindings/spi/
Dsprd,spi-adi.yaml35 one hardware spinlock protection to prevent other systems from reading/writing
38 Then we need one hardware spinlock to synchronize between the multiple subsystems.
41 subsystem accessing, that means no need to add hardware spinlock to synchronize,
42 thus change the hardware spinlock support to be optional to keep backward
/Documentation/devicetree/bindings/arm/omap/
Domap.txt30 spinlock@1 {
31 compatible = "ti,omap4-spinlock";
32 ti,hwmods = "spinlock";
/Documentation/livepatch/
Dshadow-vars.rst45 Note that the constructor is called under klp_shadow_lock spinlock. It allows
102 spinlock to net/mac80211/sta_info.h :: struct sta_info. Each use-case
172 For commit 1d147bfa6429, a good spot to allocate a shadow spinlock is
200 Like the previous use-case, the shadow spinlock needs to be cleaned up.
/Documentation/translations/it_IT/kernel-hacking/
Dlocking.rst110 I due principali tipi di *lock* nel kernel: spinlock e mutex
114 spinlock (``include/asm/spinlock.h``), un semplice *lock* che può essere
115 trattenuto solo da un processo: se non si può trattenere lo spinlock, allora
117 Gli spinlock sono molto piccoli e rapidi, possono essere utilizzati ovunque.
119 Il secondo tipo è il mutex (``include/linux/mutex.h``): è come uno spinlock,
126 e quindi dovrete utilizzare gli spinlock.
135 gli spinlock non esistono. Questa è un'ottima scelta di progettazione:
140 allora gli spinlock disabilitano la prelazione; questo è sufficiente a
180 (``include/linux/spinlock.h``) viene utilizzato. Questo disabilita i softirq
190 Questo funziona alla perfezione anche sui sistemi monoprocessore: gli spinlock
[all …]
/Documentation/translations/zh_CN/
Dglossary.rst35 * spinlock: 自旋锁。
/Documentation/devicetree/bindings/hwlock/
Dst,stm32-hwspinlock.yaml7 title: STMicroelectronics STM32 Hardware Spinlock
Dsprd,hwspinlock-r3p0.yaml7 title: Spreadtrum hardware spinlock
Dti,omap-hwspinlock.yaml42 spinlock@4a0f6000 {
Dallwinner,sun6i-a31-hwspinlock.yaml7 title: SUN6I hardware spinlock driver for Allwinner sun6i compatible SoCs
/Documentation/scsi/
DChangeLog.ips75 - Use linux/spinlock.h instead of asm/spinlock.h for kernels
/Documentation/mm/
Dsplit_page_table_lock.rst5 Originally, mm->page_table_lock spinlock protected all page tables of the
97 - if spinlock_t fits into long, we use page->ptr as spinlock, so we
/Documentation/RCU/
DlistRCU.rst294 writer lock would become a spinlock in this sort of code.
321 per-entry spinlock, and, if the *deleted* flag is set, pretends that the
323 return holding the per-entry spinlock, as shm_lock() does in fact do.
334 to accomplish this would be to add a ``deleted`` flag and a ``lock`` spinlock to the
362 spinlock as follows::
493 in conjunction with a per-entry spinlock in order to allow the search
/Documentation/kernel-hacking/
Dlocking.rst105 spinlock (``include/asm/spinlock.h``), which is a very simple
106 single-holder lock: if you can't get the spinlock, you keep trying
111 spinlock, but you may block holding a mutex. If you can't lock a mutex,
116 and so have to use a spinlock instead.
167 where spin_lock_bh() (``include/linux/spinlock.h``) is
271 spin_lock_irqsave() (``include/linux/spinlock.h``) is a
304 - Avoid holding spinlock for more than 5 lines of code and across any
318 spinlock primitives.
361 acquires the spinlock on the first try or 0 if not. This function can be
877 There is a coding bug where a piece of code tries to grab a spinlock
[all …]
/Documentation/translations/it_IT/process/
Dvolatile-considered-harmful.rst28 (spinlock, mutex, barriere di sincronizzazione, ecc) sono progettate per
45 in attesa del lock. Gli spinlock agiscono come barriere di sincronizzazione
/Documentation/core-api/
Dmaple_tree.rst19 synchronize on a lock, which can be the default spinlock, or the user can set
103 The Maple Tree uses RCU and an internal spinlock to synchronise access:
212 The maple tree uses a spinlock by default, but external locks can be used for
/Documentation/networking/
Dnetdevices.rst259 Synchronization: __netif_tx_lock spinlock.
279 Synchronization: netif_tx_lock spinlock; all TX queues frozen.
284 Synchronization: netif_addr_lock spinlock.
/Documentation/gpu/
Ddrm-vm-bind-locking.rst246 one of the :ref:`gpu_vm list spinlocks <Spinlock iteration>`. Once
249 objects. However, if instead a list spinlock is used, a more elaborate
330 dma_fence signalling critical path. In such cases, a spinlock can be
334 temporarily moved to a private list and the spinlock released
517 function. This list will then lend itself very-well to the spinlock
519 :ref:`described in the spinlock iteration section <Spinlock iteration>`, since
/Documentation/devicetree/bindings/interrupt-controller/
Dst,stm32-exti.yaml37 Reference to a phandle of a hardware spinlock provider node.
/Documentation/translations/zh_CN/locking/
Dspinlocks.rst17 加锁最基本的原语是自旋锁(spinlock)::
/Documentation/translations/it_IT/locking/
Dlocktypes.rst286 risvegliare un'attività bloccata in attesa del rilascio di uno spinlock. Poi,
480 spinlock di CPU.
506 I kernel PREEMPT_RT non possono sostituire i bit spinlock perché un singolo bit
508 spinlock è mantenuta anche sui kernel PREEMPT_RT. Quindi, le precisazioni fatte
511 In PREEMPT_RT, alcuni bit spinlock sono sostituiti con normali spinlock_t usando
/Documentation/driver-api/serial/
Ddriver.rst44 There are two locks. A per-port spinlock, and an overall semaphore.

1234