Messages in this thread | | | From | Bernd Eckenfels <> | Subject | Re: [PATCH] Remove module reference counting. | Date | Sat, 26 Jul 2003 01:37:03 +0200 |
| |
In article <1059172995.16255.6.camel@sherbert> you wrote: > 1. ->cleanup() - unregister IRQ handlers, timers, etc. ... > surely if nothing is registered and all CPUs do a voluntary schedule() > then there can be no chance of calling back in to the module.
no, because data structures might contain pointers, especially in handles. So unregistering will avoid new handlers to jump into the code, but it will not avoid that existing objets (i.e. open handles) exist. And exactly for those the refcounting is used.
Greetings Bernd -- eckes privat - http://www.eckes.org/ Project Freefire - http://www.freefire.org/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |