android_kernel_samsung_univ.../kernel/sched
Fernando Luis Vazquez Cao 96b3d28bf4 sched/clock: Prevent tracing recursion in sched_clock_cpu()
Prevent tracing of preempt_disable/enable() in sched_clock_cpu().
When CONFIG_DEBUG_PREEMPT is enabled, preempt_disable/enable() are
traced and this causes trace_clock() users (and probably others) to
go into an infinite recursion. Systems with a stable sched_clock()
are not affected.

This problem is similar to that fixed by upstream commit 95ef1e5292
("KVM guest: prevent tracing recursion with kvmclock").

Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1394083528.4524.3.camel@nexus
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-03-11 11:33:48 +01:00
..
auto_group.c
auto_group.h
clock.c sched/clock: Prevent tracing recursion in sched_clock_cpu() 2014-03-11 11:33:48 +01:00
completion.c
core.c sched/deadline: Deny unprivileged users to set/change SCHED_DEADLINE policy 2014-03-11 11:33:46 +01:00
cpuacct.c
cpuacct.h
cpudeadline.c sched/deadline: Switch CPU's presence test order 2014-02-27 12:29:40 +01:00
cpudeadline.h
cpupri.c
cpupri.h
cputime.c
deadline.c sched/deadline: Prevent rt_time growth to infinity 2014-02-27 12:29:41 +01:00
debug.c
fair.c sched: Fix double normalization of vruntime 2014-02-27 12:29:38 +01:00
features.h
idle_task.c
Makefile
proc.c
rt.c sched/deadline: Prevent rt_time growth to infinity 2014-02-27 12:29:41 +01:00
sched.h sched/deadline: Remove useless dl_nr_total 2014-02-21 21:27:10 +01:00
stats.c
stats.h
stop_task.c
wait.c