We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c7fd94 commit 56dff92Copy full SHA for 56dff92
mm/damon/core.c
@@ -14,6 +14,7 @@
14
#include <linux/psi.h>
15
#include <linux/slab.h>
16
#include <linux/string.h>
17
+#include <linux/string_choices.h>
18
19
#define CREATE_TRACE_POINTS
20
#include <trace/events/damon.h>
@@ -2075,9 +2076,8 @@ static unsigned long damos_wmark_wait_us(struct damos *scheme)
2075
2076
if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) {
2077
if (scheme->wmarks.activated)
2078
pr_debug("deactivate a scheme (%d) for %s wmark\n",
- scheme->action,
2079
- metric > scheme->wmarks.high ?
2080
- "high" : "low");
+ scheme->action,
+ str_high_low(metric > scheme->wmarks.high));
2081
scheme->wmarks.activated = false;
2082
return scheme->wmarks.interval;
2083
}
0 commit comments