Re: [PATCH 2/2] score: Replace the single use of a sequence lock

2021-08-10 Thread Gedare Bloom
ok On Tue, Aug 10, 2021 at 8:34 AM Sebastian Huber wrote: > > In SMP configurations, on 64-bit architectures use plain atomic > operations to set/get the priority value of a scheduler node. On 32-bit > architectures use an ISR lock. Using a sequence lock has no real > benefit since it uses atom

[PATCH 2/2] score: Replace the single use of a sequence lock

2021-08-10 Thread Sebastian Huber
In SMP configurations, on 64-bit architectures use plain atomic operations to set/get the priority value of a scheduler node. On 32-bit architectures use an ISR lock. Using a sequence lock has no real benefit since it uses atomic read-modify-write operations for both the read and the write lock.