Re: [PATCH 5.10 091/132] Documentation/locking/locktypes: Update migrate_disable() bits.

Pavel Machek
2021-12-29T11:12:46Z

[-- Attachment #1: Type: text/plain, Size: 965 bytes --]

Hi!

> From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
>
> commit 6a631c0432dcccbcf45839016a07c015e335e9ae 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: 74d862b682f51 ("sched: Make migrate_disable/enable()
> independent of RT")

AFAICT this commit is not present in 5.10... so this breaks
documentation, rather than improving it. (And should be reverted from
5.10).

Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]