Re: [PATCH 8/8] locking/atomics: Use read-write instrumentation for atomic RMWs

2020-08-14 Thread Mark Rutland
On Fri, Aug 14, 2020 at 01:59:08PM +0200, Marco Elver wrote: > On Fri, 14 Aug 2020 at 13:31, Mark Rutland wrote: > > On Fri, Aug 14, 2020 at 12:28:26PM +0100, Mark Rutland wrote: > > > Hi, > > > > > > Sorry to come to this rather late -- this comment equally applies to v2 > > > so I'm replying

Re: [PATCH 8/8] locking/atomics: Use read-write instrumentation for atomic RMWs

2020-08-14 Thread Marco Elver
On Fri, 14 Aug 2020 at 13:31, Mark Rutland wrote: > On Fri, Aug 14, 2020 at 12:28:26PM +0100, Mark Rutland wrote: > > Hi, > > > > Sorry to come to this rather late -- this comment equally applies to v2 > > so I'm replying here to have context. > > ... and now I see that was already applied, so

Re: [PATCH 8/8] locking/atomics: Use read-write instrumentation for atomic RMWs

2020-08-14 Thread Mark Rutland
On Fri, Aug 14, 2020 at 12:28:26PM +0100, Mark Rutland wrote: > Hi, > > Sorry to come to this rather late -- this comment equally applies to v2 > so I'm replying here to have context. ... and now I see that was already applied, so please ignore this! Mark.

Re: [PATCH 8/8] locking/atomics: Use read-write instrumentation for atomic RMWs

2020-08-14 Thread Mark Rutland
Hi, Sorry to come to this rather late -- this comment equally applies to v2 so I'm replying here to have context. On Wed, Jul 22, 2020 at 12:11:18PM +0200, Marco Elver wrote: > On Tue, 21 Jul 2020 at 16:19, Peter Zijlstra wrote: > > > > On Tue, Jul 21, 2020 at 12:30:16PM +0200, Marco Elver

Re: [PATCH 8/8] locking/atomics: Use read-write instrumentation for atomic RMWs

2020-07-22 Thread Marco Elver
On Tue, 21 Jul 2020 at 16:19, Peter Zijlstra wrote: > > On Tue, Jul 21, 2020 at 12:30:16PM +0200, Marco Elver wrote: > > > diff --git a/scripts/atomic/gen-atomic-instrumented.sh > > b/scripts/atomic/gen-atomic-instrumented.sh > > index 6afadf73da17..5cdcce703660 100755 > > ---

Re: [PATCH 8/8] locking/atomics: Use read-write instrumentation for atomic RMWs

2020-07-21 Thread Peter Zijlstra
On Tue, Jul 21, 2020 at 12:30:16PM +0200, Marco Elver wrote: > diff --git a/scripts/atomic/gen-atomic-instrumented.sh > b/scripts/atomic/gen-atomic-instrumented.sh > index 6afadf73da17..5cdcce703660 100755 > --- a/scripts/atomic/gen-atomic-instrumented.sh > +++

[PATCH 8/8] locking/atomics: Use read-write instrumentation for atomic RMWs

2020-07-21 Thread Marco Elver
Use instrument_atomic_read_write() for atomic RMW ops. Signed-off-by: Marco Elver --- include/asm-generic/atomic-instrumented.h | 330 +++--- scripts/atomic/gen-atomic-instrumented.sh | 20 +- 2 files changed, 179 insertions(+), 171 deletions(-) diff --git