Re: Patch(2.5.50): Simplify crypto memory allocation

From: James Morris (
Date: Sun Dec 08 2002 - 05:55:15 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

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

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:12 EST