aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2016-01-14 15:16:59 -0800
committerLinus Torvalds <[email protected]>2016-01-14 16:00:49 -0800
commitc510eff6bebaa244e577b8f499e86606b5e5d4c7 (patch)
treea0106dff7d2c2d887b36eb367880b361dae94afc /tools/perf/scripts
parent1deaf9d19776916cd1c83191503bf327319a301a (diff)
fsnotify: destroy marks with call_srcu instead of dedicated thread
At the time that this code was originally written, call_srcu didn't exist, so this thread was required to ensure that we waited for that SRCU grace period to settle before finally freeing the object. It does exist now however and we can much more efficiently use call_srcu to handle this. That also allows us to potentially use srcu_barrier to ensure that they are all of the callbacks have run before proceeding. In order to conserve space, we union the rcu_head with the g_list. This will be necessary for nfsd which will allocate marks from a dedicated slabcache. We have to be able to ensure that all of the objects are destroyed before destroying the cache. That's fairly Signed-off-by: Jeff Layton <[email protected]> Cc: Eric Paris <[email protected]> Reviewed-by: Jan Kara <[email protected]> Cc: "Paul E. McKenney" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions