From: Michael Halcrow Date: Fri, 16 Feb 2007 09:28:40 +0000 (-0800) Subject: [PATCH] eCryptfs: Reduce stack usage in ecryptfs_generate_key_packet_set() X-Git-Tag: v2.6.21-rc1~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb95e7ffa50fa2921ef1845a5dcb2fe5b21e83a2;p=pandora-kernel.git [PATCH] eCryptfs: Reduce stack usage in ecryptfs_generate_key_packet_set() eCryptfs is gobbling a lot of stack in ecryptfs_generate_key_packet_set() because it allocates a temporary memory-hungry ecryptfs_key_record struct. This patch introduces a new kmem_cache for that struct and converts ecryptfs_generate_key_packet_set() to use it. Signed-off-by: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed