All of lore.kernel.org
 help / color / mirror / Atom feed
* + mm-memory_hotplug-quieting-offline-operation.patch added to -mm tree
@ 2020-12-11 19:26 akpm
  2020-12-11 19:29 ` David Hildenbrand
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2020-12-11 19:26 UTC (permalink / raw)
  To: akpm, cheloha, david, ldufour, mm-commits, nathanl


The patch titled
     Subject: mm/memory_hotplug: quieting offline operation
has been added to the -mm tree.  Its filename is
     mm-memory_hotplug-quieting-offline-operation.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/mm-memory_hotplug-quieting-offline-operation.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/mm-memory_hotplug-quieting-offline-operation.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Laurent Dufour <ldufour@linux.ibm.com>
Subject: mm/memory_hotplug: quieting offline operation

On PowerPC, when dymically removing memory from a system we can see in the
console a lot of messages like this:

[  186.575389] Offlined Pages 4096

This message is displayed on each LMB (256MB) removed, which means that we
removing 1TB of memory, this message is displayed 4096 times.

Moving it to DEBUG to not flood the console.

Link: https://lkml.kernel.org/r/20201211150157.91399-1-ldufour@linux.ibm.com
Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Nathan Lynch <nathanl@linux.ibm.com>
Cc: Scott Cheloha <cheloha@linux.ibm.com>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/memory_hotplug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/memory_hotplug.c~mm-memory_hotplug-quieting-offline-operation
+++ a/mm/memory_hotplug.c
@@ -1569,7 +1569,7 @@ int __ref offline_pages(unsigned long st
 
 	/* Mark all sections offline and remove free pages from the buddy. */
 	__offline_isolated_pages(start_pfn, end_pfn);
-	pr_info("Offlined Pages %ld\n", nr_pages);
+	pr_debug("Offlined Pages %ld\n", nr_pages);
 
 	/*
 	 * The memory sections are marked offline, and the pageblock flags
_

Patches currently in -mm which might be from ldufour@linux.ibm.com are

mm-memory_hotplug-quieting-offline-operation.patch


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: + mm-memory_hotplug-quieting-offline-operation.patch added to -mm tree
  2020-12-11 19:26 + mm-memory_hotplug-quieting-offline-operation.patch added to -mm tree akpm
@ 2020-12-11 19:29 ` David Hildenbrand
  0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand @ 2020-12-11 19:29 UTC (permalink / raw)
  To: akpm; +Cc: cheloha, david, ldufour, mm-commits, nathanl


> Am 11.12.2020 um 20:26 schrieb akpm@linux-foundation.org:
> 
> 
> The patch titled
>     Subject: mm/memory_hotplug: quieting offline operation
> has been added to the -mm tree.  Its filename is
>     mm-memory_hotplug-quieting-offline-operation.patch
> 
> This patch should soon appear at
>    https://ozlabs.org/~akpm/mmots/broken-out/mm-memory_hotplug-quieting-offline-operation.patch
> and later at
>    https://ozlabs.org/~akpm/mmotm/broken-out/mm-memory_hotplug-quieting-offline-operation.patch
> 
> Before you just go and hit "reply", please:
>   a) Consider who else should be cc'ed
>   b) Prefer to cc a suitable mailing list as well
>   c) Ideally: find the original patch on the mailing list and do a
>      reply-to-all to that, adding suitable additional cc's
> 
> *** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
> 
> The -mm tree is included into linux-next and is updated
> there every 3-4 working days
> 
> ------------------------------------------------------
> From: Laurent Dufour <ldufour@linux.ibm.com>
> Subject: mm/memory_hotplug: quieting offline operation
> 
> On PowerPC, when dymically removing memory from a system we can see in the
> console a lot of messages like this:
> 
> [  186.575389] Offlined Pages 4096
> 
> This message is displayed on each LMB (256MB) removed, which means that we
> removing 1TB of memory, this message is displayed 4096 times.
> 
> Moving it to DEBUG to not flood the console.
> 
> Link: https://lkml.kernel.org/r/20201211150157.91399-1-ldufour@linux.ibm.com
> Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
> Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
> Cc: Nathan Lynch <nathanl@linux.ibm.com>
> Cc: Scott Cheloha <cheloha@linux.ibm.com>
> Cc: David Hildenbrand <david@redhat.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 

Useful for virtio-mem as well.

Reviewed-by: David Hildenbrand <david@redhat.com>

> mm/memory_hotplug.c |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/mm/memory_hotplug.c~mm-memory_hotplug-quieting-offline-operation
> +++ a/mm/memory_hotplug.c
> @@ -1569,7 +1569,7 @@ int __ref offline_pages(unsigned long st
> 
>    /* Mark all sections offline and remove free pages from the buddy. */
>    __offline_isolated_pages(start_pfn, end_pfn);
> -    pr_info("Offlined Pages %ld\n", nr_pages);
> +    pr_debug("Offlined Pages %ld\n", nr_pages);
> 
>    /*
>     * The memory sections are marked offline, and the pageblock flags
> _
> 
> Patches currently in -mm which might be from ldufour@linux.ibm.com are
> 
> mm-memory_hotplug-quieting-offline-operation.patch
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-11 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 19:26 + mm-memory_hotplug-quieting-offline-operation.patch added to -mm tree akpm
2020-12-11 19:29 ` David Hildenbrand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.