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 | e5d1b3d6ab61b85b945400fcbd3637052feb2ace (patch) | |
| tree | a250f2f419ce241d26abb3ae0acc91690bcfd25c /kernel/main.c | |
| parent | c9a7d464617f41c447d9e85082839b5b06e2abbd (diff) | |
| download | open-iov-e5d1b3d6ab61b85b945400fcbd3637052feb2ace.tar.gz open-iov-e5d1b3d6ab61b85b945400fcbd3637052feb2ace.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. */ |
