lkml.org 
[lkml]   [2004]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:2.219 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site