[lkml]   [2009]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] module: kzalloc mod->ref
    At Tue, 13 Jan 2009 22:35:33 -0500,
    Kyle McMartin wrote:
    > From: Kyle McMartin <>
    > Dynamically allocate mod->ref instead of fixing it in the struct module.
    > Reduces on disk space wasted in the module .ko, and kills a loop
    > initializing the local_t it contains since we can just kzalloc it.
    > This matters when we're talking about large NR_CPUS.
    > Signed-off-by: Kyle McMartin <>
    > ---
    > The patch removing cacheline_aligned from struct module_ref should be
    > applied as well to cut down on the amount of memory we allocate. This
    > patch makes a nice stopgap until we have per_cpu module references.
    > cheers, Kyle

    Similar patches (including mine) have been already posted, but no
    proceed until now...



     \ /
      Last update: 2009-01-14 10:13    [W:0.021 / U:78.040 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site