Messages in this thread |  | | | Date | Mon, 13 Mar 2006 13:46:33 -0800 (PST) | | From | Christoph Lameter <> | | Subject | Re: [PATCH] fix memory leak in mm/slab.c::alloc_kmemlist() |
| |
On Mon, 13 Mar 2006, Jesper Juhl wrote:
> Ok, I've been playing around with a few ways to resolve this, but I'm > a bit pressed for time and won't have properly tested patches ready > tonight. I will however keep at this, so you'll see patches > releatively shortly, just give me another day or two and I'll have > this fixed in a nice way (nice little task to work at :) ...
Maybe extract a alloc_kmemlist_node and free_kmemlist_node from alloc_kmemlist()? It gets a bit complicated if all of this is handled within alloc_kmemlist and having these separate may simplify recovery on out of memory.
- 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/
|  |