Re: BUG: using smp_processor_id() in preemptible [00000000] code: icedove-bin/5449

From: Peter Zijlstra
Date: Sat Jun 12 2010 - 05:42:56 EST

On Fri, 2010-06-11 at 18:54 -0700, Divyesh Shah wrote:
> I was able to repro the issue and and have a patch that
> replaces use of sched_clock() in block layer w/
> ktime_to_ns(ktime_get()).

You know ktime_get() is terrifyingly expensive, right?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at