summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2014-02-03 21:13:09 +0400
committerJeff Layton <jlayton@redhat.com>2014-03-31 16:24:43 +0400
commit57b65325fe34ec4c917bc4e555144b4a94d9e1f7 (patch)
treea32ab9e75285537407e5ec95d95056167af7fac4 /security/selinux/hooks.c
parentc1e62b8fc355e0c3706f1ae0dacb72d1c514dc80 (diff)
downloadlinux-57b65325fe34ec4c917bc4e555144b4a94d9e1f7.tar.xz
locks: skip deadlock detection on FL_FILE_PVT locks
It's not really feasible to do deadlock detection with FL_FILE_PVT locks since they aren't owned by a single task, per-se. Deadlock detection also tends to be rather expensive so just skip it for these sorts of locks. Also, add a FIXME comment about adding more limited deadlock detection that just applies to ro -> rw upgrades, per Andy's request. Cc: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions