mbox series

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

Message ID 20241128125029.4152292-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series blktrace: fix one kind of lockdep warning | expand

Message

Ming Lei Nov. 28, 2024, 12:50 p.m. UTC
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(-)