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)
commit6a631c0432dcccbcf45839016a07c015e335e9ae
treee630bc06ea7b6d06601f58f1add029b5b158a4d1
parentc0d95d3380ee099d735e08618c0d599e72f6c8b0
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: 74d862b682f51 ("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