Re: [PATCH] drivers/net/pcmcia: use module_param() instead of MODULE_PARM()

Dominik Brodowski
2004-11-13T22:45:26Z

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