Re: How should a driver shutdown a taskqueue on detach?

From: Ryan Stone <rysto32_at_gmail.com>
Date: Wed, 1 Jul 2015 17:09:27 -0400
On Wed, Jul 1, 2015 at 4:58 PM, Jack Vogel <jfvogel_at_gmail.com> wrote:

> But if you've disabled interrupts why would an "interrupt-handling task"
> even run??
>
> Jack
>

There's a race.  The task could have already have been scheduled by a
previous interrupt and could be running while I am trying to disable
interrupts and drain the taskqueue.
Received on Wed Jul 01 2015 - 19:09:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC