Messages in this thread | | | Date | Sat, 13 Nov 2004 23:44:45 +0100 | From | Dominik Brodowski <> | Subject | Re: [PATCH] drivers/net/pcmcia: use module_param() instead of MODULE_PARM() |
| |
On Wed, Nov 10, 2004 at 10:21:32PM +0100, Stelian Pop wrote: > If module parameters are a memory issue
module paramters, independent of exporting into sysfs [and they're not free'd on init!] need 56 bytes per module, and 20 + sizeof(name of parameter) bytes per module parameter.
If they're exported to sysfs, the first one per module costs 66, all other ones 10 bytes. So exporting to sysfs is cheap.
Dominik - 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/
| |