HomeFreeBSD

Fix synchronous work drain issue in the LinuxKPI.

Description

Fix synchronous work drain issue in the LinuxKPI.

A work callback may restart itself. Loop in the drain function to see if the
work has been rescheduled and stop the subsequent reschedules, if any.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on Sep 11 2019, 8:20 AM
Parents
rG6575da5eef8f: Fix broken DECLARE_TASKLET() macro after r347852.
Branches
Unknown
Tags
Unknown

Event Timeline