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
..
2006-01-03 13:11:21 -08:00
2005-11-09 07:55:57 -08:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:56:17 +01: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-10-04 13:22:01 -07:00
2005-11-29 22:38:43 -08:00
2005-10-28 09:52:52 -07:00
2006-01-03 11:45:28 -08:00
2005-09-10 10:06:35 -07:00
2005-06-23 09:45:20 -07:00
2005-11-07 07:54:06 -08:00
2005-09-05 00:05:52 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-13 18:14:17 -08:00
2005-11-28 14:42:24 -08:00
2005-11-09 07:55:58 -08:00
2005-11-08 16:47:45 +01:00
2006-01-06 08:33:56 -08:00
2005-11-09 07:55:57 -08:00
2006-01-06 08:33:20 -08:00
2005-12-29 09:48:15 -08:00
2005-11-09 07:55:57 -08:00
2005-08-26 11:39:19 -07:00
2006-01-06 08:33:23 -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-29 16:57:17 +01:00
2005-10-31 16:53:04 -06:00
2005-12-19 23:12:31 -05:00
2005-09-09 13:57:27 -07:00
2005-10-30 17:37:32 -08:00
2005-11-09 07:55:59 -08:00
2006-01-03 13:11:21 -08:00
2005-10-11 09:46:54 -07:00
2006-01-06 08:33:59 -08:00
2005-05-05 16:36:47 -07:00
2006-01-03 13:37:51 +01:00
2006-01-03 11:45:55 -08: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:21:37 +01:00
2006-01-06 08:33:32 -08:00
2006-01-03 13:27:11 +01:00
2005-12-20 17:33:22 -08:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:53:39 -08:00
2006-01-04 16:18:09 -08:00
2005-09-09 13:57:27 -07:00
2006-01-03 13:19:13 +01:00
2005-11-07 07:54:06 -08:00
2005-10-30 17:37:32 -08:00
2005-12-15 10:04:29 -08:00
2005-11-13 18:14:16 -08:00
2005-10-30 17:37:27 -08:00
2005-05-05 16:36:47 -07:00
2005-10-29 21:40:38 -07:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-04-16 15:20:36 -07:00
2005-10-29 21:40:38 -07:00
2005-11-09 07:55:59 -08:00
2005-04-16 15:20:36 -07:00
2005-10-29 21:40:38 -07:00
2005-12-15 15:11:40 -08:00
2005-06-23 09:45:32 -07:00
2005-11-07 07:53:39 -08:00
2005-07-12 16:01:02 -07:00
2005-11-20 13:41:59 -08:00
2006-01-04 16:20:40 -08:00
2005-11-07 07:53:35 -08:00
2005-07-07 18:23:52 -07:00
2005-10-29 21:40:39 -07:00
2005-04-16 15:20:36 -07:00
2005-11-28 14:42:26 -08:00
2005-09-28 07:46:41 -07:00
2006-01-06 08:33:27 -08:00
2005-09-09 13:57:55 -07:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:53:24 -08:00
2005-09-14 12:38:26 -07:00
2005-10-30 17:37:32 -08:00
2005-11-07 07:53:55 -08:00
2005-10-30 17:37:26 -08:00
2005-12-12 08:57:43 -08:00
2005-04-16 15:20:36 -07:00
2005-11-08 16:57:02 +01:00
2006-01-03 11:45:57 -08:00
2005-10-30 17:37:10 -08:00
2005-06-25 16:24:38 -07:00
2005-11-13 12:29:58 -05:00
2006-01-03 11:45:48 -08:00
2005-11-07 07:54:06 -08:00
2006-01-03 11:45:42 -08:00
2005-11-09 07:56:40 -08:00
2005-11-09 07:55:58 -08:00
2005-04-16 15:20:36 -07:00
2005-11-09 07:55:59 -08:00
2005-09-10 10:06:22 -07:00
2005-11-07 18:18:11 -08:00
2005-11-07 18:18:11 -08:00
2005-10-08 15:00:57 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:25:47 -07:00
2005-11-07 07:53:39 -08:00
2006-01-04 16:20:40 -08:00
2005-04-16 15:20:36 -07:00
2005-09-09 13:57:55 -07:00
2005-11-07 18:18:09 -08:00
2005-04-16 15:20:36 -07:00
2006-01-04 16:18:07 -08:00
2005-04-16 15:20:36 -07:00
2005-12-12 08:57:42 -08:00