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
commit50440e5784722b2677eccfbfed391cd880819699 (patch)
tree325a9ad988bd6ca853c82bd297b06c8e3bceaf20 /kernel/main.c
parent21b0fe04c3d97c7b5761bc285b398bec19dd8e6f (diff)
downloadopen-iov-50440e5784722b2677eccfbfed391cd880819699.tar.gz
open-iov-50440e5784722b2677eccfbfed391cd880819699.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.
*/