local64_cmpxchg() in arc_perf_event_update()

Peter Zijlstra peterz at infradead.org
Tue Nov 17 03:07:49 PST 2015


On Tue, Nov 17, 2015 at 09:14:59AM +0000, Vineet Gupta wrote:
> Let's check with Peter as I'm not sure how exactly the read call will
> nest for same counter on same core ?

Various possible ways, but the easiest is userspace doing a sys_read()
on the counter while the NMI happens.





More information about the linux-snps-arc mailing list