summaryrefslogtreecommitdiffstats
path: root/kernel/main.c
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-31 01:30:39 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-31 01:30:39 -0400
commitc8efdb1e22012d8168b15fd137887a1e5706fa1f (patch)
tree3faae5f845b2c035aef41e27f3e50278130ef8cf /kernel/main.c
parent5e1f654afc2df47439c177f74fd5a1796abd6a66 (diff)
downloadopen-iov-c8efdb1e22012d8168b15fd137887a1e5706fa1f.tar.gz
open-iov-c8efdb1e22012d8168b15fd137887a1e5706fa1f.zip
vgsp: sema_gr_setup_hold_ms param (default 0) - setup-push detect (>=12288B or MME-setup families in scan), hold arm on first unreadable read with 8x4K demand to stalled-VA channel, deadline consult at consume gate; r1079-readable setup captured words=511 (contrast r1083/85/87 zeros = setup-push read lottery root); hold fired but guest resolver covers only 0x120000000-0x121000000 - next: extend resolver to GL pushbuffer VA families - SESSION 153 r1083-r1087
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index b5c7105..c96abf8 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -2798,6 +2798,17 @@ module_param_named(sema_push_hold_ms, gsp_sema_push_hold_ms, uint, 0644);
MODULE_PARM_DESC(sema_push_hold_ms, "CE unreadable-entry work-before-release hold in ms (default 2500, 0 disables)");
/*
+ * SESSION 153-CONTINUED-54: GR setup-push (client MME-setup upload / any
+ * >= 12 KB GR push) pending hold (ms). An unreadable/all-zero setup push
+ * keeps its ring entry pending past the failed-rescue consume until the
+ * demanded 4K-page guest pin lands; 0 disables (demand rows still emitted).
+ * Default 0: the demand channel cannot yet resolve the GL pushbuffer VA
+ * families, so the hold only delays the ring (see gsp_sema_service.c).
+ */
+module_param_named(sema_gr_setup_hold_ms, gsp_sema_gr_setup_hold_ms, uint, 0644);
+MODULE_PARM_DESC(sema_gr_setup_hold_ms, "GR setup-push (MME-setup/>=12KB) pending hold in ms (default 0 = off; 20000 = aggressive, needs a resolvable demand family)");
+
+/*
* 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.
*/