Neil Brown 9f708e40fe [PATCH] knfsd: reduce stack consumption
A typical nfsd call trace is
 nfsd -> svc_process -> nfsd_dispatch -> nfsd3_proc_write ->
   nfsd_write ->nfsd_vfs_write -> vfs_writev

These add up to over 300 bytes on the stack.
Looking at each of these, I see that nfsd_write (which includes
 nfsd_vfs_write) contributes 0x8c to stack usage itself!!

It turns out this is because it puts a 'struct iattr' on the stack so
it can kill suid if needed.  The following patch saves about 50 bytes
off the stack in this call path.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-06 08:33:59 -08:00
..
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:54:53 +01:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:47:45 +01:00
2006-01-06 08:33:20 -08:00
2005-11-07 07:54:06 -08:00
2006-01-06 08:33:59 -08:00
2005-11-08 16:48:36 +01:00
2005-11-07 07:54:06 -08:00
2006-01-06 08:33:53 -08:00
2006-01-06 08:33:53 -08:00
2006-01-03 13:27:11 +01:00
2005-11-07 07:54:06 -08:00
2005-10-30 17:37:27 -08:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-10-29 21:40:39 -07:00
2006-01-06 08:33:27 -08:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:10 -08:00
2005-11-07 07:54:06 -08:00
2005-11-09 07:55:59 -08:00
2005-11-07 18:18:11 -08:00
2005-11-07 18:18:11 -08:00
2005-11-07 07:53:39 -08:00