aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-06-03 11:21:20 +0200
committerIngo Molnar <mingo@elte.hu>2010-06-03 17:03:08 +0200
commitc6df8d5ab87a246942d138321e1721edbb69f6e1 (patch)
tree4fa2965d148c3e7ea456ab889d278d5c16d25d17 /fs/jbd/commit.c
parentMerge branch 'perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/urgent (diff)
downloadlinux-dev-c6df8d5ab87a246942d138321e1721edbb69f6e1.tar.xz
linux-dev-c6df8d5ab87a246942d138321e1721edbb69f6e1.zip
perf: Fix crash in swevents
Frederic reported that because swevents handling doesn't disable IRQs anymore, we can get a recursion of perf_adjust_period(), once from overflow handling and once from the tick. If both call ->disable, we get a double hlist_del_rcu() and trigger a LIST_POISON2 dereference. Since we don't actually need to stop/start a swevent to re-programm the hardware (lack of hardware to program), simply nop out these callbacks for the swevent pmu. Reported-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1275557609.27810.35218.camel@twins> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions