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

From: Pavel Machek
Date: Wed Dec 29 2021 - 06:12:46 EST


Hi!

> From: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
>
> 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: signature.asc
Description: Digital signature