Re: [DISCUSS] memory allocation method

From: Rick Brown
Date: Fri Jan 19 2007 - 06:43:58 EST


On 1/15/07, Raz Ben-Jehuda(caro) <raziebe@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/