* [PATCH] kasan: change memory hot-add error messages to info messages
@ 2016-06-01 15:20 Shuah Khan
2016-06-01 15:22 ` Alexander Potapenko
2016-06-01 15:36 ` Andrey Ryabinin
0 siblings, 2 replies; 5+ messages in thread
From: Shuah Khan @ 2016-06-01 15:20 UTC (permalink / raw)
To: ryabinin, glider, dvyukov; +Cc: Shuah Khan, kasan-dev, linux-mm, linux-kernel
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");
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] kasan: change memory hot-add error messages to info messages
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
2016-06-01 15:25 ` Alexander Potapenko
2016-06-01 15:36 ` Andrey Ryabinin
1 sibling, 2 replies; 5+ messages in thread
From: Alexander Potapenko @ 2016-06-01 15:22 UTC (permalink / raw)
To: Shuah Khan
Cc: ryabinin, Dmitriy Vyukov, kasan-dev, Linux Memory Management List, LKML
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.
> hotplug_memory_notifier(kasan_mem_notifier, 0);
>
> --
> 2.7.4
>
--
Alexander Potapenko
Software Engineer
Google Germany GmbH
Erika-Mann-Straße, 33
80636 München
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
--
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] kasan: change memory hot-add error messages to info messages
2016-06-01 15:22 ` Alexander Potapenko
@ 2016-06-01 15:24 ` Shuah Khan
2016-06-01 15:25 ` Alexander Potapenko
1 sibling, 0 replies; 5+ messages in thread
From: Shuah Khan @ 2016-06-01 15:24 UTC (permalink / raw)
To: Alexander Potapenko, aryabinin
Cc: Dmitriy Vyukov, kasan-dev, Linux Memory Management List, LKML,
Shuah Khan
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] kasan: change memory hot-add error messages to info messages
2016-06-01 15:22 ` Alexander Potapenko
2016-06-01 15:24 ` Shuah Khan
@ 2016-06-01 15:25 ` Alexander Potapenko
1 sibling, 0 replies; 5+ messages in thread
From: Alexander Potapenko @ 2016-06-01 15:25 UTC (permalink / raw)
To: Shuah Khan
Cc: Andrey Ryabinin, Dmitriy Vyukov, kasan-dev,
Linux Memory Management List, LKML
s/ryabinin/aryabinin/
On Wed, Jun 1, 2016 at 5:22 PM, Alexander Potapenko <glider@google.com> 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.
>> hotplug_memory_notifier(kasan_mem_notifier, 0);
>>
>> --
>> 2.7.4
>>
>
>
>
> --
> Alexander Potapenko
> Software Engineer
>
> Google Germany GmbH
> Erika-Mann-Straße, 33
> 80636 München
>
> Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle
> Registergericht und -nummer: Hamburg, HRB 86891
> Sitz der Gesellschaft: Hamburg
--
Alexander Potapenko
Software Engineer
Google Germany GmbH
Erika-Mann-Straße, 33
80636 München
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
--
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] kasan: change memory hot-add error messages to info messages
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:36 ` Andrey Ryabinin
1 sibling, 0 replies; 5+ messages in thread
From: Andrey Ryabinin @ 2016-06-01 15:36 UTC (permalink / raw)
To: Shuah Khan, glider, dvyukov
Cc: kasan-dev, linux-mm, linux-kernel, Andrew Morton
On 06/01/2016 06:20 PM, Shuah Khan 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>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.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");
>
> hotplug_memory_notifier(kasan_mem_notifier, 0);
>
>
--
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-06-01 15:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2016-06-01 15:25 ` Alexander Potapenko
2016-06-01 15:36 ` Andrey Ryabinin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox