git: f95569fafcba - stable/13 - tools/uma/smrstress: fix kthread exit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Aug 2022 11:25:08 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=f95569fafcba5ed3cd119f8d177622fe0e64bbf6
commit f95569fafcba5ed3cd119f8d177622fe0e64bbf6
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-07-30 18:54:34 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-08-06 11:24:54 +0000
tools/uma/smrstress: fix kthread exit
(cherry picked from commit 4690e20eed17a6e79a67a8d10874fdc67a1c4ccf)
---
tools/uma/smrstress/smrstress.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/uma/smrstress/smrstress.c b/tools/uma/smrstress/smrstress.c
index 7e7ee4ea065c..2cf5f50ffae4 100644
--- a/tools/uma/smrstress/smrstress.c
+++ b/tools/uma/smrstress/smrstress.c
@@ -123,6 +123,7 @@ smrs_thread(void *arg)
else
smrs_read();
atomic_add_int(&smrs_completed, 1);
+ kthread_exit();
}
static void