On Wed, 21 Jan 2015 10:47:37 +0000 Daniel Thompson <daniel.thomp...@linaro.org> wrote:
> > With this patchset, is it possible to call sched_clock() from within NMI > > context? I ask because the generic sched_clock() code is not NMI safe That's not good. Better not run function tracing, as that could trace functions in NMI context (I depend on that it does), and it uses sched_clock() as the default clock. -- Steve > > today. We were planning on making it NMI safe by doing something similar > > to what was done for ktime_get_mono_fast_ns() but we haven't gotten > > around to it. Mostly because no architecture that uses generic > > sched_clock() has support for NMIs right now. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/