Re: [PATCH] Use directly kmalloc() and kfree() in init/initramfs.c
From: Thomas Petazzoni
Date: Fri Feb 15 2008 - 11:25:16 EST
Le Fri, 15 Feb 2008 17:00:35 +0100 (CET),
Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> a Ãcrit :
> Anyone you can get to push the actual changeset; many won't feel
> responsible :) so the path is through ->akpm->linus here.
Ok, so as Andrew is in Cc:, I suppose he will pick the patch :-)
> BTW, if you changed free to kfree, did the free macro/whatever get
> removed or is it still used?
After this patch, they are still used by the lib/inflate.c code. But if
you look at the patch called "inflate: refactor inflate malloc code"
that I sent to the LKML this morning, you'll see that it removes the
malloc() and free() wrappers (and does some more clean-up).
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
Attachment:
signature.asc
Description: PGP signature