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-10-03 23:01:26 +02:00
2006-10-03 22:36:44 +02:00
2006-10-03 23:28:36 +02:00
2006-10-03 23:01:26 +02:00
2006-10-02 09:55:27 -05:00
2006-10-03 23:01:26 +02:00
2006-10-03 23:37:55 +02:00
2006-01-11 18:42:13 -08:00
2006-01-08 20:12:40 -08:00
2006-10-02 07:57:15 -07:00
2006-04-11 13:53:33 +02:00
2006-10-02 07:57:14 -07:00
2006-10-03 22:36:44 +02:00
2006-10-01 00:39:19 -07:00
2006-10-01 00:39:33 -07:00
2006-06-26 09:58:17 -07:00
2005-11-07 18:18:11 -08:00
2006-10-01 00:39:19 -07:00
2006-03-23 07:38:11 -08:00
2006-10-01 00:39:29 -07:00
2006-03-23 07:38:12 -08:00
2006-10-01 00:39:19 -07:00