Messages in this thread | | | Date | Wed, 10 Nov 2004 19:04:22 +0100 | From | Jens Axboe <> | Subject | Re: [RFC] [PATCH] kmem_alloc (generic wrapper for kmalloc and vmalloc) |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |