lkml.org 
[lkml]   [2011]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Allow setting of number of raw devices as a module parameter
    On Fri, 29 Apr 2011 16:28:17 -0700
    Andrew Morton <akpm@linux-foundation.org> wrote:

    > On Fri, 29 Apr 2011 00:24:29 +0200
    > Jan Kara <jack@suse.cz> wrote:
    >
    > > Allow setting of maximal number of raw devices as a module parameter. This
    > > requires changing of static array into a vmalloced one (the array is going to
    > > be too large for kmalloc).

    A large vmalloc array is very antisocial on a 32bit x86 box. It looks
    like almost all of it would become sane if there was an array of pointers
    to raw devices and the devices were initially allocated on need (even if
    for now only recovered on rmmod)


    \
     
     \ /
      Last update: 2011-04-30 12:31    [W:0.022 / U:1.080 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site