Sleeping in init_module / cleanup_module

From: David Woodhouse (dwmw2@infradead.org)
Date: Fri Apr 07 2000 - 10:11:06 EST


I've just noticed that module->cleanup() is called in 2.3 with the unload_lock
spinlock held.

Does this mean it's no longer allowed to do anything which sleeps?

(Like obtaining a semaphore so it can take itself off a driver list)

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:18 EST