Re: [PATCH] s390 (2/7): common i/o layer.

From: Martin Schwidefsky
Date: Mon Oct 06 2003 - 11:02:05 EST



> That's a trivial deadlock. You _can't_ do that sysfs. Static kobject in
> a module is a bug. Period.

Are you trying to say that a device_register in module_init and a
device_unregister in module_exit is not allowed? Because if you
do a kmalloc/kfree to get the memory for your object or allocate
it statically is irrelevant if the release function is part of the
module you are trying to unload.

blue skies,
Martin


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