Re: [PATCH] selftests: memory-hotplug: avoid spamming logs with dump_page(), ratio limit hot-remove error test

From: Shuah Khan
Date: Fri Jul 09 2021 - 13:03:44 EST


On 7/9/21 7:00 AM, Paolo Pisati wrote:
On Wed, Jun 30, 2021 at 04:57:40PM +0200, Paolo Pisati wrote:
While the offline memory test obey ratio limit, the same test with error
injection does not and tries to offline all the hotpluggable memory, spamming
system logs with hundreds of thousands of dump_page() entries, slowing system
down (to the point the test itself timeout and gets terminated) and excessive fs
occupation:

...

Anyone with spare cycles could review this? It got one ack already.


Thanks for finding and fixing this.

Looks good to me. I will pull this in as soon as the merge window
ends and 5.14-rc1 comes out.

thanks,
-- Shuah