Re: [PATCH v2] kasan: Support for r/w instrumentation control

2016-12-16 Thread Dmitry Vyukov
On Fri, Dec 16, 2016 at 11:29 AM, Vaneet Narang wrote: > > Hi Andrey, > > > There are times when requirement is only to find write issues so user should > have flexibility to > skip read instrumentation for better performance with KASAN enabled build to > find realtime > issues as well. > > >> c

Re: [PATCH v2] kasan: Support for r/w instrumentation control

2016-12-13 Thread Andrey Ryabinin
On 12/13/2016 05:13 PM, Dmitry Vyukov wrote: > On Tue, Dec 13, 2016 at 2:59 PM, Andrey Ryabinin > wrote: >> On 12/13/2016 12:38 PM, Dmitry Vyukov wrote: >>> On Tue, Dec 13, 2016 at 10:20 AM, Andrey Ryabinin >>> wrote: On 12/13/2016 11:58 AM, Dmitry Vyukov wrote: > --- a/

Re: [PATCH v2] kasan: Support for r/w instrumentation control

2016-12-13 Thread Dmitry Vyukov
On Tue, Dec 13, 2016 at 2:59 PM, Andrey Ryabinin wrote: > On 12/13/2016 12:38 PM, Dmitry Vyukov wrote: >> On Tue, Dec 13, 2016 at 10:20 AM, Andrey Ryabinin >> wrote: >>> >>> >>> On 12/13/2016 11:58 AM, Dmitry Vyukov wrote: >>> --- a/Documentation/dev-tools/kasan.rst +++ b/Documentation/

Re: [PATCH v2] kasan: Support for r/w instrumentation control

2016-12-13 Thread Andrey Ryabinin
On 12/13/2016 12:38 PM, Dmitry Vyukov wrote: > On Tue, Dec 13, 2016 at 10:20 AM, Andrey Ryabinin > wrote: >> >> >> On 12/13/2016 11:58 AM, Dmitry Vyukov wrote: >> >>> --- a/Documentation/dev-tools/kasan.rst >>> +++ b/Documentation/dev-tools/kasan.rst >>> @@ -40,6 +40,14 @@ similar to the following

Re: [PATCH v2] kasan: Support for r/w instrumentation control

2016-12-13 Thread Andrey Ryabinin
On 12/13/2016 11:58 AM, Dmitry Vyukov wrote: > --- a/Documentation/dev-tools/kasan.rst > +++ b/Documentation/dev-tools/kasan.rst > @@ -40,6 +40,14 @@ similar to the following to the respective kernel Makefile: > > KASAN_SANITIZE := n > > +Sometimes it may be useful to disable instrumentat

Re: [PATCH v2] kasan: Support for r/w instrumentation control

2016-12-13 Thread Dmitry Vyukov
On Tue, Dec 13, 2016 at 10:20 AM, Andrey Ryabinin wrote: > > > On 12/13/2016 11:58 AM, Dmitry Vyukov wrote: > >> --- a/Documentation/dev-tools/kasan.rst >> +++ b/Documentation/dev-tools/kasan.rst >> @@ -40,6 +40,14 @@ similar to the following to the respective kernel >> Makefile: >> >> KASAN

Re: [PATCH v2] kasan: Support for r/w instrumentation control

2016-12-13 Thread Dmitry Vyukov
On Tue, Dec 13, 2016 at 6:57 AM, Maninder Singh wrote: > This provide option to control sanity of read and write operations > Both read and write instrumentation increase size of uImage, So using > this option read or write instrumentation can be avoided if not required. > Useful in case of module

[PATCH v2] kasan: Support for r/w instrumentation control

2016-12-12 Thread Maninder Singh
This provide option to control sanity of read and write operations Both read and write instrumentation increase size of uImage, So using this option read or write instrumentation can be avoided if not required. Useful in case of module sanity, using this uImage sanity can be avoided. Also user spa