Revision a6a5349d17f2a5c37079826f1a1474c3d08c6b53 authored by Sage Weil on 13 April 2010, 21:07:07 UTC, committed by Sage Weil on 13 April 2010, 21:07:07 UTC
Use a separate class for ceph sockets to prevent lockdep confusion. Because ceph sockets only get passed kernel pointers, there is no dependency from sk_lock -> mmap_sem. If we share the same class as other sockets, lockdep detects a circular dependency from mmap_sem (page fault) -> fs mutex -> sk_lock -> mmap_sem because dependencies are noted from both ceph and user contexts. Using a separate class prevents the sk_lock(ceph) -> mmap_sem dependency and makes lockdep happy. Signed-off-by: Sage Weil <sage@newdream.net>
1 parent e1e4dd0
File | Mode | Size |
---|---|---|
hw_breakpoint | ||
kobject | ||
kprobes | ||
trace_events | ||
tracepoints | ||
Kconfig | -rw-r--r-- | 1.2 KB |
Makefile | -rw-r--r-- | 128 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...