Re: Patch(2.5.50): Simplify crypto memory allocation

James Morris (jmorris@intercode.com.au)
Sun, 8 Dec 2002 21:55:15 +1100 (EST)


On Sun, 8 Dec 2002, Adam J. Richter wrote:

> The following patch deletes the unused
> crypto_tfm.crt_work_block field and combines the remaining
> two kmallocs done by crypto_alloc_tfm into one, a net
> deletion of 25 lines.
>
> I've only verified that the kernel and the crpypto modules
> still build. I don't currently use this code, although I'm
> considering making a version of loop.c which would, which is why I
> noticed this.
>
> Anyhow, if this patch turns out to work and looks OK, then
> please integrate, queue it for Linus, etc., or let me know if you
> would prefer that you or I follow some other course of action.
>

Looks good and tests ok. Thanks.

(The work_block field and associated management code should have
disappeared long ago, not sure why it was still there).

- James

-- 
James Morris
<jmorris@intercode.com.au>

- 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/