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 941518d commit 10855b4Copy full SHA for 10855b4
Documentation/kernel-hacking/locking.rst
@@ -295,7 +295,7 @@ Pete Zaitcev gives the following summary:
295
296
- If you are in a process context (any syscall) and want to lock other
297
process out, use a mutex. You can take a mutex and sleep
298
- (``copy_from_user*(`` or ``kmalloc(x,GFP_KERNEL)``).
+ (``copy_from_user()`` or ``kmalloc(x,GFP_KERNEL)``).
299
300
- Otherwise (== data can be touched in an interrupt), use
301
spin_lock_irqsave() and
0 commit comments