Messages in this thread | | | Subject | Re: BUG: using smp_processor_id() in preemptible [00000000] code: asm/8267 | From | Peter Zijlstra <> | Date | Wed, 27 Mar 2013 15:17:32 +0100 |
| |
On Wed, 2013-03-27 at 14:15 +0100, Joerg Roedel wrote: > What makes me wonder here is that the code is preemptible in an > rcu_read_locked section. As far as I know preemption needs to be > disabled while holding the rcu_read_lock().
Nah, a long long time ago some -rt people complained to paulmck that keeping preemption disabled over all this RCU stuff was killing latencies. Paul liked the challenge and came up with some mind twisting stuff to make it work.
If you're into that kind of pain, look at CONFIG_*_PREEMPT_RCU :-)
But yeah, you need to have that stuff enabled before you can hit this particular snag.
| |