s
FWIW: I employ this scheme. The shm-signal construct has a "dirty" and
"pending" flag (all on the same cacheline, which may or may not address
Andi's later point). The first time you dirty the shm, it sets both
flags. The consumer side has to clear "pending" before any subsequent
signals are sent. Normally the consumer side will also clear "enabled"
(as part of the bidir napi thing) to further disable signals.
-Greg