> Am 11.12.2020 um 20:26 schrieb akpm@xxxxxxxxxxxxxxxxxxxx: > > > 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@xxxxxxxxxxxxx> > 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@xxxxxxxxxxxxx > Signed-off-by: Laurent Dufour <ldufour@xxxxxxxxxxxxx> > Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Cc: Nathan Lynch <nathanl@xxxxxxxxxxxxx> > Cc: Scott Cheloha <cheloha@xxxxxxxxxxxxx> > Cc: David Hildenbrand <david@xxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > --- > Useful for virtio-mem as well. Reviewed-by: David Hildenbrand <david@xxxxxxxxxx> > 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@xxxxxxxxxxxxx are > > mm-memory_hotplug-quieting-offline-operation.patch >