Re: [PATCH v11 08/16] sched: Allow task CPU affinity to be restricted on asymmetric systems

From: Peter Zijlstra
Date: Wed Aug 18 2021 - 07:08:38 EST


On Wed, Aug 18, 2021 at 11:42:28AM +0100, Will Deacon wrote:

> Ah, sorry. I didn't realise you couldn't _free_ with a raw lock held in RT.
> Is there somewhere I can read up on that?

It's because the allocators use spinlock_t, which cannot nest inside
raw_spinlock_t.