workqueue question.

From: Ben Greear
Date: Tue Jun 28 2011 - 15:01:13 EST


Hello!

Is it OK to call INIT_WORK(&foo, bar)
if we are currently being called by the work-queue
using foo?

Also, is it valid to free the memory containing foo
in a workqueue callback?


Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com

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