Re: driver hacking tips (was Re: [PATCH] QStor SATA/RAID driver for2.6.9-rc3)

From: Jeff Garzik
Date: Tue Oct 12 2004 - 14:43:16 EST


Mark Lord wrote:
At driver module unload time, is there any way to guarantee
that all pending "schedule_work()" events have been processed?


flush_workqueue() [private workqueue] and flush_scheduled_work()

Jeff


-
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/