Re: [DISCUSS] memory allocation method
- From: "Rick Brown" <rick.brown.3@xxxxxxxxx>
- Date: Fri, 19 Jan 2007 17:12:35 +0530
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/
- References:
- [DISCUSS] memory allocation method
- From: Raz Ben-Jehuda(caro)
- [DISCUSS] memory allocation method
- Prev by Date: Re: [linux-usb-devel] 2.6.20-rc4: usb somehow broken
- Next by Date: Re: [PATCH 2/5] eCryptfs: convert kmap() to kmap_atomic()
- Previous by thread: Re: [DISCUSS] memory allocation method
- Next by thread: Initramfs and /sbin/hotplug fun
- Index(es):
Relevant Pages
|