blktrace: fix one kind of lockdep warning
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | blktrace: don't centralize grabbing q->debugfs_mutex in blk_trace_ioctlkernel/ | +5 | 0 replies | |
| 2/2 | blktrace: move copy_[to|from]_user() out of ->debugfs_lockkernel/ | +9 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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