You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error appears because CONFIG_DEBUG_PREEMPT is set in your kernel.
Technically, it is an error - using the cpu id without interrupts disabled
could result in the wrong cpu being returned. I'll have to review where
this is used - one place is in the dtrace debugging, where it really doesnt
matter.
#ifdef CONFIG_DEBUG_PREEMPT
extern unsigned int debug_smp_processor_id(void);
Activity
dtrace4linux commentedon Feb 7, 2013
if this happen,s, look at /var/log/messages, dmesg and /proc/dtrace/trace
to see what is happening.
tx
On 6 February 2013 23:40, Richard Yao notifications@github.com wrote:
ryao commentedon Feb 7, 2013
Here is /proc/dtrace/trace:
Here is an excerpt from dmesg:
It looks like there are some preemption bugs in the dtrace kernel module. My kernel is built with CONFIG_PREEMPT=y.
ryao commentedon Feb 7, 2013
I rebuilt with CONFIG_PREEMPT_VOLUNTARY=y. The same issue occurs, but now dmesg is noticeably shorter:
dtrace4linux commentedon Feb 7, 2013
This error appears because CONFIG_DEBUG_PREEMPT is set in your kernel.
Technically, it is an error - using the cpu id without interrupts disabled
could result in the wrong cpu being returned. I'll have to review where
this is used - one place is in the dtrace debugging, where it really doesnt
matter.
#ifdef CONFIG_DEBUG_PREEMPT
extern unsigned int debug_smp_processor_id(void);
define smp_processor_id() debug_smp_processor_id()
#else
define smp_processor_id() raw_smp_processor_id()
#endif
Thanks for the feedback
On 7 February 2013 06:28, Richard Yao notifications@github.com wrote:
ryao commentedon Mar 10, 2014
#76 should dramatically improve things for preemptive kernels.