aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVegard Nossum <[email protected]>2016-07-28 15:48:32 -0700
committerLinus Torvalds <[email protected]>2016-07-28 16:07:41 -0700
commit98c42d945238c55ab56e5716e89553fb7de45b66 (patch)
tree37153594a46e04d5cd0a54a8d88d271f88e698b3 /tools/perf/scripts/python/export-to-postgresql.py
parentcb0a650213b738dbd04951c7f1f6e95b65012758 (diff)
kmemleak: don't hang if user disables scanning early
If the user tries to disable automatic scanning early in the boot process using e.g.: echo scan=off > /sys/kernel/debug/kmemleak then this command will hang until SECS_FIRST_SCAN (= 60) seconds have elapsed, even though the system is fully initialised. We can fix this using interruptible sleep and checking if we're supposed to stop whenever we wake up (like the rest of the code does). Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Vegard Nossum <[email protected]> Acked-by: Catalin Marinas <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions