From: Shuah Khan <shuahkh@osg.samsung.com>
To: Alexander Potapenko <glider@google.com>, aryabinin@virtuozzo.com
Cc: Dmitriy Vyukov <dvyukov@google.com>,
kasan-dev <kasan-dev@googlegroups.com>,
Linux Memory Management List <linux-mm@kvack.org>,
LKML <linux-kernel@vger.kernel.org>,
Shuah Khan <shuahkh@osg.samsung.com>
Subject: Re: [PATCH] kasan: change memory hot-add error messages to info messages
Date: Wed, 1 Jun 2016 09:24:42 -0600 [thread overview]
Message-ID: <574EFE3A.8030408@osg.samsung.com> (raw)
In-Reply-To: <CAG_fn=UbgEkJ5rv0Em9nNthLOWqy7BZ7y9ZU3ub8QTF6t_VpYw@mail.gmail.com>
On 06/01/2016 09:22 AM, Alexander Potapenko wrote:
> On Wed, Jun 1, 2016 at 5:20 PM, Shuah Khan <shuahkh@osg.samsung.com> wrote:
>> Change the following memory hot-add error messages to info messages. There
>> is no need for these to be errors.
>>
>> [ 8.221108] kasan: WARNING: KASAN doesn't support memory hot-add
>> [ 8.221117] kasan: Memory hot-add will be disabled
>>
>> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
>> ---
>> Note: This is applicable to 4.6 stable releases.
>>
>> mm/kasan/kasan.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/mm/kasan/kasan.c b/mm/kasan/kasan.c
>> index 18b6a2b..28439ac 100644
>> --- a/mm/kasan/kasan.c
>> +++ b/mm/kasan/kasan.c
>> @@ -763,8 +763,8 @@ static int kasan_mem_notifier(struct notifier_block *nb,
>>
>> static int __init kasan_memhotplug_init(void)
>> {
>> - pr_err("WARNING: KASAN doesn't support memory hot-add\n");
>> - pr_err("Memory hot-add will be disabled\n");
>> + pr_info("WARNING: KASAN doesn't support memory hot-add\n");
>> + pr_info("Memory hot-add will be disabled\n");
> No objections, but let's wait for Andrey.
Thanks. Fixing Andrey's address. I had a cut and paste error. Sorry.
>> hotplug_memory_notifier(kasan_mem_notifier, 0);
>>
>> --
>> 2.7.4
>>
>
>
>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2016-06-01 15:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 15:20 [PATCH] kasan: change memory hot-add error messages to info messages Shuah Khan
2016-06-01 15:22 ` Alexander Potapenko
2016-06-01 15:24 ` Shuah Khan [this message]
2016-06-01 15:25 ` Alexander Potapenko
2016-06-01 15:36 ` Andrey Ryabinin
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=574EFE3A.8030408@osg.samsung.com \
--to=shuahkh@osg.samsung.com \
--cc=aryabinin@virtuozzo.com \
--cc=dvyukov@google.com \
--cc=glider@google.com \
--cc=kasan-dev@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).