We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 769f90f commit 6adb775Copy full SHA for 6adb775
Documentation/kernel-hacking/locking.rst
@@ -263,7 +263,7 @@ by a hardware interrupt on another CPU. This is where
263
interrupts on that cpu, then grab the lock.
264
:c:func:`spin_unlock_irq()` does the reverse.
265
266
-The irq handler does not to use :c:func:`spin_lock_irq()`, because
+The irq handler does not need to use :c:func:`spin_lock_irq()`, because
267
the softirq cannot run while the irq handler is running: it can use
268
:c:func:`spin_lock()`, which is slightly faster. The only exception
269
would be if a different hardware irq handler uses the same lock:
0 commit comments