kernel-fxtec-pro1x/include/linux/sunrpc
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
..
auth.h
auth_gss.h fix file specification in comments 2006-10-03 23:01:26 +02:00
cache.h
clnt.h
debug.h
gss_api.h fix file specification in comments 2006-10-03 23:01:26 +02:00
gss_asn1.h
gss_err.h
gss_krb5.h
gss_spkm3.h
Kbuild
metrics.h
msg_prot.h fix file specification in comments 2006-10-03 23:01:26 +02:00
rpc_pipe_fs.h
sched.h
stats.h
svc.h [PATCH] knfsd: Avoid excess stack usage in svc_tcp_recvfrom 2006-10-04 07:55:15 -07:00
svcauth.h
svcauth_gss.h fix file specification in comments 2006-10-03 23:01:26 +02:00
svcsock.h [PATCH] knfsd: split svc_serv into pools 2006-10-02 07:57:19 -07:00
timer.h
types.h
xdr.h
xprt.h