Re: [patch 05/50] sched: Provide schedule point for RT locks

From: Thomas Gleixner
Date: Wed Jul 14 2021 - 07:33:01 EST


On Wed, Jul 14 2021 at 12:17, Peter Zijlstra wrote:
> On Wed, Jul 14, 2021 at 11:49:47AM +0200, Thomas Gleixner wrote:
>> On Wed, Jul 14 2021 at 10:28, Peter Zijlstra wrote:
>> >
>> > #define SM_MASK_STATE (~0U)
>> >
>> > Be even better?
>>
>> SM_MASK_STATE is overengineered. See combo patch 4+5 below
>
> Yep, that should result in similar code as my proposal, thanks!
>
> nit: you like UINT_MAX better than (~0U) ?

No strong preference.