diff options
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2008-10-01 12:03:25 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 10:38:38 +0200 |
commit | ed86a59071a4ccd0e9bcefc61e013759a21eda78 (patch) | |
tree | 013abe0cb9e3cd4d7e6c2a9655f86517423a2623 /include/linux | |
parent | 5b9261d93e5fa3db4995d5b77b5ed365166e001c (diff) | |
download | op-kernel-dev-ed86a59071a4ccd0e9bcefc61e013759a21eda78.zip op-kernel-dev-ed86a59071a4ccd0e9bcefc61e013759a21eda78.tar.gz |
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')
0 files changed, 0 insertions, 0 deletions