[for-next][PATCH 14/34] lockdep: Use this_cpu_ptr instead of get_cpu_var stats

2018-08-11 Thread Steven Rostedt
From: "Joel Fernandes (Google)" get_cpu_var disables preemption which has the potential to call into the preemption disable trace points causing some complications. There's also no need to disable preemption in uses of get_lock_stats anyway since preempt is already disabled. So lets simplify the

[for-next][PATCH 14/34] lockdep: Use this_cpu_ptr instead of get_cpu_var stats

2018-08-11 Thread Steven Rostedt
From: "Joel Fernandes (Google)" get_cpu_var disables preemption which has the potential to call into the preemption disable trace points causing some complications. There's also no need to disable preemption in uses of get_lock_stats anyway since preempt is already disabled. So lets simplify the