notes: Patch C Phase 4 plan (item 1 only — collapse sdio_rx_work into BH) #9
Reference in New Issue
Block a user
Delete Branch "claude-noether-7"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 4 plan for Patch C, scoped to item 1 only per merged PR #8 inline review ("sequential, not on the clock"). Item 2 splits to Patch C2 (Task #23, gated on Task #19 kerneldoc contract verification).
Summary
sdio_rx_workdelivers directly intowsm_handle_rx, removingself->rx_queueand its twospin_lock(&rx_queue_lock)sites per frame. Smaller diff than subsuming into bh thread (Option B); cleaner Phase-7 attribution._raw_spin_unlock_irqrestore20% → 12-15% (medium confidence; rx_queue lock is one of several contributors), observed receive 75-725 KB/s → ≥ 1.0 MB/s sustained @ 4 MB/s (medium; rep 3's link death has multiple causes).feedback_phase7_stress_ramp. Pre-patch baseline must capture two metrics not currently on file:bes_sdioworkqueue dispatch rate andmac80211:drv_rx_irqsafecount. Phase 6 cannot start until those are filled in.asm volatile("nop"), commented-out__bes2600_irq_enable(1), BUG_ON in hot path) — Task #24 observation after Patch E lands, perfeedback_dont_patch_downstream_artifacts.Phase 5 handover
Goal/Situation/Measurements/Plan are in §0–§4 verbatim. Markus initiates the DokuWiki paste-in for second-model review when ready. Do not curate — including the medium-confidence predictions and the §4.6 risk list.
What's NOT in this PR