Re: [PATCH] mm/kasan: make quarantine_lock a raw_spinlock_t

From: Peter Zijlstra
Date: Fri Oct 19 2018 - 06:59:02 EST


On Mon, Oct 15, 2018 at 04:35:29PM -0700, Andrew Morton wrote:
> On Sat, 13 Oct 2018 15:50:58 +0200 Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > The whole raw_spinlock_t is for RT, no other reason.
>
> Oh. I never realised that.
>
> Is this documented anywhere? Do there exist guidelines which tell
> non-rt developers and reviewers when it should be used?

I'm afraid not; I'll put it on the todo list ... I've also been working
on some lockdep validation for the lock order stuff.