Thread (7 messages) 7 messages, 3 authors, 2015-01-27

Ticketing spinlocks - How to get to the owner who locked the spinlock?

From: manty kuma <hidden>
Date: 2015-01-27 05:57:21

Hi All,

Currently I am looking into an issue which is holding the printk
lock(logbuf_lock)

logbuf_lock = {
  raw_lock = {
    owner = 0,
    next = 4
  }
}

I read about ticketing spinlocks to understand the above output. I
understood that 4 cpu's are waiting for the lock while someone already has
it.

I would like to know who has it? Is there a way I can know which process is
acquiring a given spinlock? Is the information not stored in it?

I am using crash tool to analyse the dump

Regards,
Manty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150127/a0b667be/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help