Re: [PATCH] ioc4: automatically load sgiioc4 subordinate module
From: Andrew Morton
Date: Mon Dec 08 2008 - 21:33:24 EST
On Mon, 8 Dec 2008 20:01:31 -0600 (CST) Brent Casavant <bcasavan@xxxxxxx> wrote:
> > This race is fixable by adding a flush_scheduled_work() into
> > ioc4_exit(), I expect.
>
> In this case I believe a better spot for the flush_schedule_work() is
> immediately after calling schedule_work()
That is equivalent to calling the work function directly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/