lkml.org 
[lkml]   [2007]   [Jan]   [19]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 19 Jan 2007 17:12:35 +0530
From"Rick Brown" <>
SubjectRe: [DISCUSS] memory allocation method
On 1/15/07, Raz Ben-Jehuda(caro) <raziebe@gmail.com> wrote:
> I have a process who allocates as much as possible of RAM
> in 4 G ram 32bit machine.  This buffer is never released.
>
> Questions:
>
> 1. Is it better allocates with many 1MB buffers or allocate it in with
> one a big valloc ?

ONe BIG vmalloc has huge, huge chances of failure.
-
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: 2007-01-19 12:09    [from the cache]
©2003-2008