Hi Andery, [...] > > diff --git a/Documentation/dev-tools/kasan.rst b/Documentation/dev-tools/kasan.rst > > index 0a1418ab72fd..fe1a1e152275 100644 > > --- a/Documentation/dev-tools/kasan.rst > > +++ b/Documentation/dev-tools/kasan.rst > > @@ -143,6 +143,9 @@ disabling KASAN altogether or controlling its features: > > Asymmetric mode: a bad access is detected synchronously on reads and > > asynchronously on writes. > > > > +- ``kasan.write_only=off`` or ``kasan.write_only=on`` controls whether KASAN > > + checks the write (store) accesses only or all accesses (default: ``off``) > > Nit: a dot missing at the end of the sentence. Thanks! I'll add it. [...] > > #ifdef CONFIG_KASAN_HW_TAGS > > diff --git a/mm/kasan/hw_tags.c b/mm/kasan/hw_tags.c > > index 9a6927394b54..334e9e84983e 100644 > > --- a/mm/kasan/hw_tags.c > > +++ b/mm/kasan/hw_tags.c > > @@ -41,9 +41,16 @@ enum kasan_arg_vmalloc { > > KASAN_ARG_VMALLOC_ON, > > }; > > > > +enum kasan_arg_write_only { > > + KASAN_ARG_WRITE_ONLY_DEFAULT, > > + KASAN_ARG_WRITE_ONLY_OFF, > > + KASAN_ARG_WRITE_ONLY_ON, > > +}; > > + > > static enum kasan_arg kasan_arg __ro_after_init; > > static enum kasan_arg_mode kasan_arg_mode __ro_after_init; > > static enum kasan_arg_vmalloc kasan_arg_vmalloc __initdata; > > +static enum kasan_arg_write_only kasan_arg_write_only __ro_after_init; > > > > /* > > * Whether KASAN is enabled at all. > > @@ -67,6 +74,9 @@ DEFINE_STATIC_KEY_FALSE(kasan_flag_vmalloc); > > #endif > > EXPORT_SYMBOL_GPL(kasan_flag_vmalloc); > > > > +/* Whether to check write access only. */ > > Nit: access => accesses Thanks. I'll change it. [...] > For the KASAN parts: > > Reviewed-by: Andrey Konovalov <andreyknvl@xxxxxxxxx> > > Thank you! Thanks :D -- Sincerely, Yeoreum Yun