Re: Linux 2.4 Status / TODO page (Updated as of 2.4.0-test10)

From: David Woodhouse (dwmw2@infradead.org)
Date: Sun Nov 05 2000 - 19:54:51 EST


On Mon, 6 Nov 2000, Keith Owens wrote:

> I'm not sure why you think this can be used for module persistent
> storage. If a module calls inter_module_register() on load, it should
> call inter_module_unregister() on unload. All the registered data
> points into the loaded module, remove the module and the storage
> disappears as well.

You can kmalloc() both the im_name and userdata arguments to
inter_module_register and you ought to be able to pass NULL as the owner.

-- 
dwmw2

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



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