Skip to content

blktrace: fix one kind of lockdep warning

Ming Lei linux-block 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2blktrace: don't centralize grabbing q->debugfs_mutex in blk_trace_ioctlkernel/trace/blktrace.c+5 -70 replies
2/2blktrace: move copy_[to|from]_user() out of ->debugfs_lockkernel/trace/blktrace.c+9 -171 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] blktrace: fix one kind of lockdep warning

Hello,

This patchset kills one big kind of lockdep warning by cutting dependency between q->debugfs_lock and mm->mmap_lock around copy_to_user() and copy_from_user(().

Ming Lei (2):
blktrace: don't centralize grabbing q->debugfs_mutex in
blk_trace_ioctl
blktrace: move copy_[to|from]_user() out of ->debugfs_lock

 kernel/trace/blktrace.c | 34 ++++++++++++----------------------
 1 file changed, 12 insertions(+), 22 deletions(-)
Signature · 1 line
2.47.0