> I would suggest using bits in the section labelled: > > /* Unserialized, strictly 'current' */ The main problem is that |current| is unavailable in the interrupt context, so we'll also need to: - disable interrupts when preparing for a KMSAN internal memory allocation - sounds costly, huh? - store the context flag in a per-cpu variable in the case |current| is unavailable.