• Philippe Gerum's avatar
    evl/xbuf: convert inbound buffer lock to hard lock · a6461ad2
    Philippe Gerum authored
    The data protected by the inbound (oob -> in-band traffic) buffer lock
    is frequently accessed from the in-band stage by design, where hard
    irqs should be disabled. Conversely, the out-of-band sections are
    short enough to bear with interrupt-free execution. Therefore we would
    not generally benefit from the preemption disabling feature we are
    going to add to the EVL-specific spinlock. Make it a hard lock to
    clarify the intent.
    Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
xbuf.c 17.9 KB