]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Dec 2021 09:57:18 +0000 (10:57 +0100)
commita5fbf10b1689efcb7b2d0cf337ba97e1a7d921f3
tree6b6acb77d624396951f556340b29cec4dbcf1ef9
parentea3e6459e942a6845c2c97c1b65db332974c0b6a
Documentation/locking/locktypes: Update migrate_disable() bits.

commit 97e39375b2535021eb4e930e472bc802d3deac93 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/locking/locktypes.rst