aboutsummaryrefslogtreecommitdiffstats
path: root/fs/libfs.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2008-10-01 12:03:25 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-14 10:38:38 +0200
commited86a59071a4ccd0e9bcefc61e013759a21eda78 (patch)
tree013abe0cb9e3cd4d7e6c2a9655f86517423a2623 /fs/libfs.c
parentsputrace: use marker_synchronize_unregister() (diff)
downloadlinux-dev-ed86a59071a4ccd0e9bcefc61e013759a21eda78.tar.xz
linux-dev-ed86a59071a4ccd0e9bcefc61e013759a21eda78.zip
markers: re-enable fast batch registration
Lai Jiangshan discovered a reentrancy issue with markers and fixed it by adding synchronize_sched() calls at each registration/unregistraiton. It works, but it removes the ability to do batch registration/unregistration and can cause registration of ~100 markers to take about 30 seconds on a loaded machine (synchronize_sched() is much slower on such workloads). This patch implements a version of the fix which won't slow down marker batch registration/unregistration. It also go back to the original non-synchronized reg/unreg. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions