Re: [PATCH v5 1/4] x86: switch atomic.h to use atomic-instrumented.h

2017-06-23 Thread Andrew Morton
On Fri, 23 Jun 2017 10:54:02 +0200 Ingo Molnar wrote: > > * Dmitry Vyukov wrote: > > > On Thu, Jun 22, 2017 at 11:14 PM, Andrew Morton > > wrote: > > > On Thu, 22 Jun 2017 16:14:16 +0200 Dmitry Vyukov > > > wrote: > > > > > >> Add arch_ prefix to all atomic operations and include > > >> . T

Re: [PATCH v5 1/4] x86: switch atomic.h to use atomic-instrumented.h

2017-06-23 Thread Ingo Molnar
* Dmitry Vyukov wrote: > On Thu, Jun 22, 2017 at 11:14 PM, Andrew Morton > wrote: > > On Thu, 22 Jun 2017 16:14:16 +0200 Dmitry Vyukov wrote: > > > >> Add arch_ prefix to all atomic operations and include > >> . This will allow > >> to add KASAN instrumentation to all atomic ops. > > > > This

Re: [PATCH v5 1/4] x86: switch atomic.h to use atomic-instrumented.h

2017-06-23 Thread Dmitry Vyukov
On Thu, Jun 22, 2017 at 11:14 PM, Andrew Morton wrote: > On Thu, 22 Jun 2017 16:14:16 +0200 Dmitry Vyukov wrote: > >> Add arch_ prefix to all atomic operations and include >> . This will allow >> to add KASAN instrumentation to all atomic ops. > > This gets a large number of (simple) rejects when

Re: [PATCH v5 1/4] x86: switch atomic.h to use atomic-instrumented.h

2017-06-22 Thread Andrew Morton
On Thu, 22 Jun 2017 16:14:16 +0200 Dmitry Vyukov wrote: > Add arch_ prefix to all atomic operations and include > . This will allow > to add KASAN instrumentation to all atomic ops. This gets a large number of (simple) rejects when applied to linux-next. Can you please redo against -next?

[PATCH v5 1/4] x86: switch atomic.h to use atomic-instrumented.h

2017-06-22 Thread Dmitry Vyukov
Add arch_ prefix to all atomic operations and include . This will allow to add KASAN instrumentation to all atomic ops. Signed-off-by: Dmitry Vyukov Acked-by: Mark Rutland Reviewed-by: Andrey Ryabinin Cc: Peter Zijlstra Cc: Will Deacon Cc: Andrew Morton Cc: Ingo Molnar Cc: kasan-...@googleg