Files
linux-stable-mirror/include/linux
NeilBrown 3cc03b164c [PATCH] knfsd: Avoid excess stack usage in svc_tcp_recvfrom
..  by allocating the array of 'kvec' in 'struct svc_rqst'.

As we plan to increase RPCSVC_MAXPAGES from 8 upto 256, we can no longer
allocate an array of this size on the stack.  So we allocate it in 'struct
svc_rqst'.

However svc_rqst contains (indirectly) an array of the same type and size
(actually several, but they are in a union).  So rather than waste space, we
move those arrays out of the separately allocated union and into svc_rqst to
share with the kvec moved out of svc_tcp_recvfrom (various arrays are used at
different times, so there is no conflict).

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-10-04 07:55:15 -07:00
..
2006-09-26 17:40:24 -04:00
2006-10-03 23:01:26 +02:00
2006-10-03 23:01:26 +02:00
2006-10-03 23:01:26 +02:00
2006-10-01 00:39:29 -07:00
2006-09-28 17:53:58 -07:00
2006-10-03 23:01:26 +02:00
2006-10-03 08:04:16 -07:00
2006-09-26 08:48:54 -07:00
2006-10-03 08:04:13 -07:00
2006-10-02 07:57:12 -07:00
2006-09-26 17:40:24 -04:00
2006-09-26 15:38:52 -07:00
2006-09-28 18:02:18 -07:00
2006-10-03 08:04:08 -07:00
2006-09-28 18:02:13 -07:00
2006-09-28 18:02:02 -07:00
2006-09-28 18:02:31 -07:00
2006-09-28 18:02:29 -07:00
2006-10-02 07:57:22 -07:00
2006-09-28 17:54:01 -07:00
2006-10-04 07:55:12 -07:00
2006-09-28 18:02:30 -07:00
2006-10-04 07:55:12 -07:00
2006-09-26 08:48:47 -07:00
2006-10-01 00:39:18 -07:00
2006-09-28 18:02:22 -07:00
2006-09-29 09:18:12 -07:00
2006-10-01 00:39:19 -07:00
2006-09-28 18:02:58 -07:00
2006-10-02 07:57:22 -07:00
2006-09-26 08:48:48 -07:00
2006-10-01 00:39:17 -07:00
2006-10-03 08:03:40 -07:00
2006-10-03 23:01:26 +02:00
2006-10-02 07:57:15 -07:00
2006-09-26 08:49:04 -07:00
2006-09-26 08:48:44 -07:00
2006-09-29 09:18:11 -07:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:19 -07:00
2006-09-26 08:48:58 -07:00
2006-09-28 17:53:59 -07:00
2006-10-01 00:39:18 -07:00
2006-09-27 08:26:20 -07:00
2006-09-28 18:02:16 -07:00
2006-10-01 00:39:34 -07:00
2006-10-01 00:39:19 -07:00
2006-10-04 07:55:12 -07:00
2006-09-29 09:18:13 -07:00
2006-10-03 23:01:26 +02:00