Re: [Intel-gfx] [RFC 00/12] locking: Separate lock tracepoints from lockdep/lock_stat (v1)

2022-02-10 Thread Waiman Long
On 2/10/22 14:14, Paul E. McKenney wrote: On Thu, Feb 10, 2022 at 10:13:53AM +0100, Peter Zijlstra wrote: On Wed, Feb 09, 2022 at 04:32:58PM -0800, Namhyung Kim wrote: On Wed, Feb 9, 2022 at 1:09 AM Peter Zijlstra wrote: On Tue, Feb 08, 2022 at 10:41:56AM -0800, Namhyung Kim wrote: Eventual

Re: [Intel-gfx] [RFC 00/12] locking: Separate lock tracepoints from lockdep/lock_stat (v1)

2022-02-09 Thread Waiman Long
On 2/9/22 19:27, Namhyung Kim wrote: On Wed, Feb 9, 2022 at 12:17 PM Waiman Long wrote: On 2/9/22 14:45, Namhyung Kim wrote: On Wed, Feb 9, 2022 at 11:28 AM Mathieu Desnoyers wrote: - On Feb 9, 2022, at 2:22 PM, Namhyung Kim namhy...@kernel.org wrote: I'm also concerning dy

Re: [Intel-gfx] [RFC 00/12] locking: Separate lock tracepoints from lockdep/lock_stat (v1)

2022-02-09 Thread Waiman Long
On 2/9/22 14:45, Namhyung Kim wrote: On Wed, Feb 9, 2022 at 11:28 AM Mathieu Desnoyers wrote: - On Feb 9, 2022, at 2:22 PM, Namhyung Kim namhy...@kernel.org wrote: I'm also concerning dynamic allocated locks in a data structure. If we keep the info in a hash table, we should delete it wh

Re: [Intel-gfx] [RFC 00/12] locking: Separate lock tracepoints from lockdep/lock_stat (v1)

2022-02-09 Thread Waiman Long
On 2/9/22 14:17, Mathieu Desnoyers wrote: - On Feb 9, 2022, at 2:02 PM, Waiman Long long...@redhat.com wrote: On 2/9/22 13:29, Mathieu Desnoyers wrote: - On Feb 9, 2022, at 1:19 PM, Waiman Long long...@redhat.com wrote: On 2/9/22 04:09, Peter Zijlstra wrote: On Tue, Feb 08, 2022 at

Re: [Intel-gfx] [RFC 00/12] locking: Separate lock tracepoints from lockdep/lock_stat (v1)

2022-02-09 Thread Waiman Long
On 2/9/22 13:29, Mathieu Desnoyers wrote: - On Feb 9, 2022, at 1:19 PM, Waiman Long long...@redhat.com wrote: On 2/9/22 04:09, Peter Zijlstra wrote: On Tue, Feb 08, 2022 at 10:41:56AM -0800, Namhyung Kim wrote: Eventually I'm mostly interested in the contended locks only and I wa

Re: [Intel-gfx] [RFC 00/12] locking: Separate lock tracepoints from lockdep/lock_stat (v1)

2022-02-09 Thread Waiman Long
On 2/9/22 04:09, Peter Zijlstra wrote: On Tue, Feb 08, 2022 at 10:41:56AM -0800, Namhyung Kim wrote: Eventually I'm mostly interested in the contended locks only and I want to reduce the overhead in the fast path. By moving that, it'd be easy to track contended locks with timing by using two t