|
|
Log in / Subscribe / Register

What about nested qspinlocks?

What about nested qspinlocks?

Posted Jul 20, 2019 17:36 UTC (Sat) by firolwn (guest, #96711)
In reply to: What about nested qspinlocks? by luto
Parent article: MCS locks and qspinlocks

According to https://lkml.org/lkml/2019/1/10/799, NMI and MCE should never use spinlock.

There might be a problem in following scenario:
Process context, soft interrupt, hardware interrupt, page fault(e.g. vmalloc), kprobe.


to post comments

What about nested qspinlocks?

Posted Jul 20, 2019 17:45 UTC (Sat) by firolwn (guest, #96711) [Link]

vmalloc isn't correct. Should be some invalid address in kernel space which triggered a page fault.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds