diff options
author | 2013-10-21 11:44:57 +0100 | |
---|---|---|
committer | 2013-11-09 17:54:34 -0500 | |
commit | 99ba2ae4cd876bbcedb01d94c1a7952ce171418e (patch) | |
tree | e150c06aff63538e6c64ff29a88f6afdb9d9fe20 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dm array: fix bug in growing array (diff) | |
download | linux-dev-99ba2ae4cd876bbcedb01d94c1a7952ce171418e.tar.xz linux-dev-99ba2ae4cd876bbcedb01d94c1a7952ce171418e.zip |
dm cache policy mq: protect residency method with existing mutex
It is safe to use a mutex in mq_residency() at this point since it is
only called from ioctl context. But future-proof mq_residency() by
using might_sleep() to catch new contexts that cannot sleep.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions