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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.47.0





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux