On Thu, 6 Mar 2014, Josh Cartwright wrote:> Although, I'm wondering how exact these statistics need to be. Is> making them preemption safe even a concern?Not sure about that. You solution makes it preempt safe. If is can betolerated that its racy then raw_cpu_inc() could be used.