Re: Problem: Out of memory after 2days with 2GB RAM

From: Jiri Slaby
Date: Thu Jun 12 2008 - 17:31:58 EST


On 06/12/2008 05:43 PM, Tomas Winkler wrote:
On Thu, Jun 12, 2008 at 4:54 PM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
This cuts the allocation to 10%, or (under) a page in all cases.

Probably. it would be safe to use vmalloc for allocating txb anyway.
I'll give it a try.

Why it wouldn't be "safe". I suggested it to you already, since allocating 64k by kmalloc for descriptors accessed only in kernel is crud. Moreover you're mixing the buffer with its descriptors here? Or what you're considering to vmalloc?
--
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/