From: Frederic Weisbecker Date: Tue, 16 Dec 2008 21:08:58 +0000 (+0100) Subject: tracing/ftrace: use preempt_enable_no_resched_notrace in ring_buffer_time_stamp() X-Git-Tag: v2.6.29-rc1~586^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c2d7329d8afa9efa3ec24e19a53e7be9d14f242;p=pandora-kernel.git tracing/ftrace: use preempt_enable_no_resched_notrace in ring_buffer_time_stamp() Impact: prevent a trace recursion After some tests with function graph tracer under x86-32, I saw some recursions caused by ring_buffer_time_stamp() that calls preempt_enable_no_notrace() which calls preempt_schedule() which is traced itself. This patch re-enables preemption without rescheduling. Signed-off-by: Frederic Weisbecker Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed