summaryrefslogtreecommitdiffstats
path: root/kernel/main.c
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 05:13:03 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 05:13:03 -0400
commita422055208b800313d44c9fa6a3df81e650999e2 (patch)
treead3cfc33e8c50782d231e7dce9a92bd3e4875088 /kernel/main.c
parent9b25a6dd383246cd535533c07ff8978f543de4ce (diff)
downloadopen-iov-a422055208b800313d44c9fa6a3df81e650999e2.tar.gz
open-iov-a422055208b800313d44c9fa6a3df81e650999e2.zip
sema-svc: sema_ops_log param (default 8) to audit executed CE operands; run_cycle OPS_LOG knob
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index f427828..454f3b9 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -2450,6 +2450,14 @@ module_param_named(sema_skip_ops, gsp_sema_skip_ops, bool, 0644);
MODULE_PARM_DESC(sema_skip_ops, "Apply releases without executing pushed memsets (default 0)");
/*
+ * Executed-op log cap: how many CE fills/copies are logged with full
+ * operands. Raise it (e.g. 4096) to audit a data path; the default keeps a
+ * run quiet.
+ */
+module_param_named(sema_ops_log, gsp_sema_ops_log, uint, 0644);
+MODULE_PARM_DESC(sema_ops_log, "Max executed CE ops logged with operands (default 8)");
+
+/*
* Grace window (ms) an untranslatable GR entry stays pending before the pump
* consumes it as stale, so a late push-buffer pin can still make it readable.
*/