diff options
author | 2016-02-17 13:11:21 -0800 | |
---|---|---|
committer | 2016-02-18 16:23:24 -0800 | |
commit | 0918f1c309b86301605650c836ddd2021d311ae2 (patch) | |
tree | 973765405f04bda0739f6649b5cca78cac719ca7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "fsnotify: destroy marks with call_srcu instead of dedicated thread" (diff) | |
download | wireguard-linux-0918f1c309b86301605650c836ddd2021d311ae2.tar.xz wireguard-linux-0918f1c309b86301605650c836ddd2021d311ae2.zip |
fsnotify: turn fsnotify reaper thread into a workqueue job
We don't require a dedicated thread for fsnotify cleanup. Switch it
over to a workqueue job instead that runs on the system_unbound_wq.
In the interest of not thrashing the queued job too often when there are
a lot of marks being removed, we delay the reaper job slightly when
queueing it, to allow several to gather on the list.
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Tested-by: Eryu Guan <guaneryu@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Eric Paris <eparis@parisplace.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions