From: Mathieu Desnoyers Date: Wed, 1 Oct 2008 16:03:25 +0000 (-0400) Subject: markers: re-enable fast batch registration X-Git-Tag: v2.6.28-rc1~78^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed86a59071a4ccd0e9bcefc61e013759a21eda78;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed