]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation/locking/locktypes: Update migrate_disable() bits.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Sat, 27 Nov 2021 16:31:59 +0000 (17:31 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 30 Nov 2021 14:40:31 +0000 (15:40 +0100)
commit97e39375b2535021eb4e930e472bc802d3deac93
treee630bc06ea7b6d06601f58f1add029b5b158a4d1
parentb8374392b1aca3a5af0a2dcad3acaf8c3afd9a63
Documentation/locking/locktypes: Update migrate_disable() bits.

The initial implementation of migrate_disable() for mainline was a
wrapper around preempt_disable(). RT kernels substituted this with
a real migrate disable implementation.

Later on mainline gained true migrate disable support, but the
documentation was not updated.

Update the documentation, remove the claims about migrate_disable()
mapping to preempt_disable() on non-PREEMPT_RT kernels.

Fixes: 1e05619e8b2ed ("sched: Make migrate_disable/enable() independent of RT")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20211127163200.10466-2-bigeasy@linutronix.de
Documentation/locking/locktypes.rst