Re: [RFC] [PATCH] kmem_alloc (generic wrapper for kmalloc and vmalloc)

From: Jens Axboe
Date: Wed Nov 10 2004 - 13:07:11 EST

On Wed, Nov 10 2004, Adam Heath wrote:
> On Wed, 10 Nov 2004, Jens Axboe wrote:
> > Plus, you cannot use vfree() from interrupt context. This patch is a bad
> > idea.
> why not have a work queue, that frees things later, after a delay?

Kludge upon kludge does not make the interface any better. The best fix
is to split the allocations, like suggested a slab cache for the loop
would do nicely.

Jens Axboe

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at