diff options
author | 2007-02-16 01:28:40 -0800 | |
---|---|---|
committer | 2007-02-16 08:14:01 -0800 | |
commit | eb95e7ffa50fa2921ef1845a5dcb2fe5b21e83a2 (patch) | |
tree | 665bc814f571b88988b668e34cf45f2981853e57 /fs/ecryptfs/messaging.c | |
parent | [PATCH] knfsd: stop NFSD writes from being broken into lots of little writes to filesystem (diff) | |
download | linux-rng-eb95e7ffa50fa2921ef1845a5dcb2fe5b21e83a2.tar.xz linux-rng-eb95e7ffa50fa2921ef1845a5dcb2fe5b21e83a2.zip |
[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 <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/messaging.c')
0 files changed, 0 insertions, 0 deletions