diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-30 05:23:28 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-09-30 05:23:28 -0400 |
| commit | 6c7b38061e26baba05d116dda482a6b557cd38e7 (patch) | |
| tree | 9ffa0b29675f4085159bd3933f5caac0fedb8a13 /kernel/main.c | |
| parent | 85113f53848b1d1ae577967fff540d6406346ff2 (diff) | |
| download | open-iov-6c7b38061e26baba05d116dda482a6b557cd38e7.tar.gz open-iov-6c7b38061e26baba05d116dda482a6b557cd38e7.zip | |
sema-svc: sema_copy_watch (size-keyed src/dst byte audit for the CE data path)
Diffstat (limited to 'kernel/main.c')
| -rw-r--r-- | kernel/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c index 52156dc..3a42132 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -2458,6 +2458,14 @@ 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)"); /* + * Data-path watch: log the first source/destination bytes of every CE copy + * of exactly this size (0 = off), to audit the push-data chain: + * echo 256 > .../parameters/sema_copy_watch + */ +module_param_named(sema_copy_watch, gsp_sema_copy_watch, uint, 0644); +MODULE_PARM_DESC(sema_copy_watch, "Copy size whose first bytes are logged (default 0)"); + +/* * 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. */ |
