diff mbox series

[GIT,PULL] Kselftest update for Linux 5.14-rc2

Message ID ae8c3cdd-8bc6-fd64-ce73-9a27a60a8820@linuxfoundation.org (mailing list archive)
State Accepted
Commit 00397e74e37a1285baee8678085297a330a6e2ce
Headers show
Series [GIT,PULL] Kselftest update for Linux 5.14-rc2 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-fixes-5.14-rc2

Commit Message

Shuah Khan July 16, 2021, 10:24 p.m. UTC
Hi Linus,

Please pull the following Kselftest fixes update for Linux 5.14-rc2

This Kselftest fixes update for Linux 5.14-rc2 consists of fix
to memory-hotplug hot-remove test to stop spamming logs with
dump_page() entries and slowing the system down to a crawl.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3:

   Linux 5.14-rc1 (2021-07-11 15:07:40 -0700)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-fixes-5.14-rc2

for you to fetch changes up to 0c0f6299ba71faf610e311605e09e96331c45f28:

   selftests: memory-hotplug: avoid spamming logs with dump_page(), ratio limit hot-remove error test (2021-07-12 14:20:01 -0600)

----------------------------------------------------------------
linux-kselftest-fixes-5.14-rc2

This Kselftest fixes update for Linux 5.14-rc2 consists of fix
to memory-hotplug hot-remove test to stop spamming logs with
dump_page() entries and slowing the system down to a crawl.

----------------------------------------------------------------
Paolo Pisati (1):
       selftests: memory-hotplug: avoid spamming logs with dump_page(), ratio limit hot-remove error test

  tools/testing/selftests/memory-hotplug/mem-on-off-test.sh | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------

Comments

pr-tracker-bot@kernel.org July 17, 2021, 7:53 p.m. UTC | #1
The pull request you sent on Fri, 16 Jul 2021 16:24:37 -0600:

> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-fixes-5.14-rc2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/00397e74e37a1285baee8678085297a330a6e2ce

Thank you!
diff mbox series

Patch

diff --git a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh b/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh
index b37585e6aa38..46a97f318f58 100755
--- a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh
+++ b/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh
@@ -282,7 +282,9 @@  done
 #
 echo $error > $NOTIFIER_ERR_INJECT_DIR/actions/MEM_GOING_OFFLINE/error
 for memory in `hotpluggable_online_memory`; do
-	offline_memory_expect_fail $memory
+	if [ $((RANDOM % 100)) -lt $ratio ]; then
+		offline_memory_expect_fail $memory
+	fi
 done
 
 echo 0 > $NOTIFIER_ERR_INJECT_DIR/actions/MEM_GOING_OFFLINE/error