RCU locking issues in jbd2_dev_to_name
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · NeilBrown
Hi Ted and all,
I've been exploring RCU usage in the kernel looking for strange things, and
jbd2_dev_to_namelooks particularly strange. The following patch explains and addresses the issues that I found. Comments welcome.
Yeah its broken. But I have patches pending for the merge window that solve it by nuking the function altogether; the problem is calling a function from TP_PRINTK causes perf to die on the spot, terminating its tracing. :-(
- Ted
Quoted 7 lines · On Wed, 27 Jul 2011 07:28:27 -0400 Theodore Tso <[email protected]> wrote:
Quoted 4 lines · NeilBrown
Hi Ted and all,
Quoted 8 lines
Quoted 3 lines
I've been exploring RCU usage in the kernel looking for strange things, and
jbd2_dev_to_namelooks particularly strange. The following patch explains and addresses the issues that I found. Comments welcome.Yeah its broken. But I have patches pending for the merge window that solve it by nuking the function altogether; the problem is calling a function from
TP_PRINTKcauses perf to die on the spot, terminating its tracing. :-(
Sounds painful...
If it is about to go, that is good enough for me.
Thanks,
NeilBrown