public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Walter Wu <walter-zh.wu@mediatek•com>
To: Vlastimil Babka <vbabka@suse•cz>
Cc: Qian Cai <cai@lca•pw>,
	wsd_upstream@mediatek•com, Arnd Bergmann <arnd@arndb•de>,
	linux-mm@kvack•org, Andrey Konovalov <andreyknvl@google•com>,
	linux-mediatek@lists•infradead.org, linux-kernel@vger•kernel.org,
	kasan-dev@googlegroups•com,
	Martin Schwidefsky <schwidefsky@de•ibm.com>,
	Alexander Potapenko <glider@google•com>,
	linux-arm-kernel@lists•infradead.org,
	Matthias Brugger <matthias.bgg@gmail•com>,
	Andrey Ryabinin <aryabinin@virtuozzo•com>,
	Andrew Morton <akpm@linux-foundation•org>,
	Dmitry Vyukov <dvyukov@google•com>
Subject: Re: [PATCH v3] mm/kasan: dump alloc and free stack for page allocator
Date: Thu, 12 Sep 2019 22:08:28 +0800	[thread overview]
Message-ID: <1568297308.19040.5.camel@mtksdccf07> (raw)
In-Reply-To: <c4d2518f-4813-c941-6f47-73897f420517@suse.cz>


>  extern void __reset_page_owner(struct page *page, unsigned int order);
> diff --git a/lib/Kconfig.kasan b/lib/Kconfig.kasan
> index 6c9682ce0254..dc560c7562e8 100644
> --- a/lib/Kconfig.kasan
> +++ b/lib/Kconfig.kasan
> @@ -41,6 +41,8 @@ config KASAN_GENERIC
>  	select SLUB_DEBUG if SLUB
>  	select CONSTRUCTORS
>  	select STACKDEPOT
> +	select PAGE_OWNER
> +	select PAGE_OWNER_FREE_STACK
>  	help
>  	  Enables generic KASAN mode.
>  	  Supported in both GCC and Clang. With GCC it requires version 4.9.2
> @@ -63,6 +65,8 @@ config KASAN_SW_TAGS
>  	select SLUB_DEBUG if SLUB
>  	select CONSTRUCTORS
>  	select STACKDEPOT
> +	select PAGE_OWNER
> +	select PAGE_OWNER_FREE_STACK
>  	help

What is the difference between PAGE_OWNER+PAGE_OWNER_FREE_STACK and
DEBUG_PAGEALLOC?
If you directly enable PAGE_OWNER+PAGE_OWNER_FREE_STACK
PAGE_OWNER_FREE_STACK,don't you think low-memory device to want to use
KASAN?


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-09-12 14:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11  8:39 [PATCH v3] mm/kasan: dump alloc and free stack for page allocator Walter Wu
2019-09-11 15:19 ` Qian Cai
2019-09-12 13:53   ` Vlastimil Babka
2019-09-12 14:08     ` Andrey Ryabinin
2019-09-12 14:08     ` Walter Wu [this message]
2019-09-12 14:31       ` Vlastimil Babka
2019-09-12 15:13         ` Walter Wu
2019-09-12 17:05         ` Andrey Ryabinin
2019-09-16  9:42           ` Vlastimil Babka
2019-09-16 15:57             ` Andrey Ryabinin
2019-09-17  8:19               ` Vlastimil Babka
2019-09-23  8:20               ` [PATCH] mm, debug, kasan: save and dump freeing stack trace for kasan Vlastimil Babka
2019-09-25  9:41                 ` Andrey Ryabinin
2019-09-12 14:10     ` [PATCH v3] mm/kasan: dump alloc and free stack for page allocator Qian Cai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1568297308.19040.5.camel@mtksdccf07 \
    --to=walter-zh.wu@mediatek$(echo .)com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=andreyknvl@google$(echo .)com \
    --cc=arnd@arndb$(echo .)de \
    --cc=aryabinin@virtuozzo$(echo .)com \
    --cc=cai@lca$(echo .)pw \
    --cc=dvyukov@google$(echo .)com \
    --cc=glider@google$(echo .)com \
    --cc=kasan-dev@googlegroups$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-mediatek@lists$(echo .)infradead.org \
    --cc=linux-mm@kvack$(echo .)org \
    --cc=matthias.bgg@gmail$(echo .)com \
    --cc=schwidefsky@de$(echo .)ibm.com \
    --cc=vbabka@suse$(echo .)cz \
    --cc=wsd_upstream@mediatek$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox