diff options
author | Mikulas Patocka <[email protected]> | 2017-10-18 19:01:11 -0400 |
---|---|---|
committer | Shaohua Li <[email protected]> | 2017-11-01 21:32:21 -0700 |
commit | ae89fd3de4793c0dc2ec7e9f26b58a357d74a6c7 (patch) | |
tree | ff01b76ce4885259ff750e5977bf62eb5f880e59 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b03e0ccb5ab9df3efbe51c87843a1ffbecbafa1f (diff) |
md: use TASK_IDLE instead of blocking signals
Hi - I submit this patch for the next merge window:
Some times ago, I made a patch f9c79bc05a2a that blocks signals around the
schedule() calls in MD. The MD subsystem needs to do an uninterruptible
sleep that is not accounted in load average - so we block signals and use
interruptible sleep.
The kernel has a special TASK_IDLE state for this purpose, so we can use
it instead of blocking signals. This patch doesn't fix any bug, it just
makes the code simpler.
Signed-off-by: Mikulas Patocka <[email protected]>
Acked-by: NeilBrown <[email protected]>
Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions