i386: semaphore ownership tracking
Quoted 5 lines · Andrew Morton
Quoted 2 lines · Chuck Ebbert
This patch enables tracking semaphore ownership.
Why? I can't think of any bug in recent years which needed this..
It might be useful in new driver development. OTOH it is really ugly
even if it's a small patch.
I did get an education from it, though. The usb-storage threads on my
system were sleeping on semaphores they already owned, making me wonder if my patch really worked. It turns out that code in scsiglue.c does an up() to wake them without ever acquiring the semaphore.
__
Chuck
Quoted 10 lines · Chuck Ebbert
Quoted 5 lines · Andrew Morton
Quoted 2 lines · Chuck Ebbert
This patch enables tracking semaphore ownership.
Why? I can't think of any bug in recent years which needed this..
It might be useful in new driver development. OTOH it is really ugly
even if it's a small patch.
How is it different from the ownership tracking used for PI in the -rt kernel?
Lee