summaryrefslogtreecommitdiff
path: root/include/linux/marker.h
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2008-10-01 16:03:25 (GMT)
committerIngo Molnar <mingo@elte.hu>2008-10-14 08:38:38 (GMT)
commited86a59071a4ccd0e9bcefc61e013759a21eda78 (patch)
tree013abe0cb9e3cd4d7e6c2a9655f86517423a2623 /include/linux/marker.h
parent5b9261d93e5fa3db4995d5b77b5ed365166e001c (diff)
downloadlinux-fsl-qoriq-ed86a59071a4ccd0e9bcefc61e013759a21eda78.tar.xz
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 'include/linux/marker.h')
0 files changed, 0 insertions, 0 deletions