patches/driver/bes2600/queue-pending-record-lock-bh-danctnix: mirror besser#18 fix #30
Reference in New Issue
Block a user
Delete Branch "claude-noether/kernel-agent:noether/bes2600-pending-record-lock-bh"
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?
Mirror of besser#18 fix
In-tree variant (paths under
drivers/staging/bes2600/) of the fix authored by Markus onmarfrit/bes2600-dkmsbranchbes2600/queue-pending-record-lock-bh-fix, commitd95453c(PR #11 there).Fix: convert plain
spin_lock(&pending_record_lock)tospin_lock_bh()at the 5 sites where it's taken in non-BH-disabled contexts (queue.c:832/839/844,tx_loop.c:112/114).queue.c:289/295stays as plainspin_lockbecause BH is already disabled by the outerqueue->lock_bhacquired atqueue.c:285.Splat being fixed (besser#18)
The AB-BA window is between
bes2600_join_workworkqueue context (takespending_record_lockplain) andbes2600_txsoftirq context (takesqueue->lockwith_bh, then can nestpending_record_lockviaqueue.c:289).What this PR does
Adds
patches/driver/bes2600/queue-pending-record-lock-bh-danctnix/with:0001-bes2600-take-pending-record-lock-with-bh.patch(the in-tree variant of d95453c, paths rewritten viasedfrombes2600/todrivers/staging/bes2600/)README.md(one-liner referring to source-of-truth PR)Does NOT yet add the series to
fleet/ohm.yaml— that comes in a follow-up commit once #28 (the migration PR) lands and #11 on bes2600-dkms is reviewed.Ship path
fleet/ohm.yamlincludes:after PR #28 (the migration) lands.marfrit-packageswill bump to pkgrel=5 after the ohm.yaml update.References