Messages in this thread | | | Subject | Re: [RFC][PATCH 1/4] checkpoint-restart: general infrastructure | From | Dave Hansen <> | Date | Fri, 08 Aug 2008 15:17:35 -0700 |
| |
On Fri, 2008-08-08 at 16:59 -0400, Oren Laadan wrote: > To avoid repetitive malloc/free, ctx->hbuf is a buffer to host headers > as they are read;
kmalloc/kfree() area really, really fast. I wonder if the code gets easier or harder to read if we just alloc/free as we need to.
How large are these allocations, usually? Will stack allocation work in most cases?
-- Dave
| |