Files
ubports_kernel_google_msm/include/linux
Richard Kennedy 9fa8d66f1e NFS: remove 8 bytes of padding from struct nfs_fattr on 64 bit builds
remove 8 bytes of padding from struct nfs_fattr on 64 bit builds

This also removes padding from several nfs structures, including
16 bytes from  nfs4_opendata, nfs4_createdata,nfs3_createdata
& 8 bytes from nfs_read_data,nfs_write_data,nfs_removeres,nfs4_closedata

This also reduces the reported stack usage of many nfs functions (30+).

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
----

This patch is against the latest git 2.6.27-rc4.
I've built & run this on my AMD64 desktop, & successfully run _simple_
tests with a  64 bit client => 32 bit server & 32 bit client to 64 bit
server.

On fedora with gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) checkpatch
reports 33 functions with reduced stack usage.
e.g.
__nfs_revalidate_inode [nfs] 216 => 200
_nfs4_proc_access [nfs] 304 => 288
_nfs4_proc_link [nfs] 536 => 504
_nfs4_proc_remove [nfs] 304 => 288
_nfs4_proc_rename [nfs] 584 => 552
nfs3_proc_access [nfs] 272 => 256
nfs3_proc_getacl [nfs] 384 => 368
nfs3_proc_link [nfs] 496 => 464
etc
I can supply the complete list if anyone is interested.

regards
Richard
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-10-07 18:17:51 -04:00
..
2008-07-25 10:53:30 -07:00
2008-08-10 23:32:07 +02:00
2008-07-27 01:26:17 +02:00
2008-08-05 14:33:46 -07:00
2008-08-12 10:13:38 +10:00
2008-07-24 10:47:24 -07:00
2008-07-24 10:47:33 -07:00
2008-07-24 10:47:33 -07:00
2008-08-04 21:56:09 -07:00
2008-07-25 10:53:33 -07:00
2008-07-24 10:47:29 -07:00
2008-08-20 13:19:51 -07:00
2008-08-12 16:07:31 -07:00
2008-07-26 20:53:20 -04:00
2008-07-25 10:53:48 -07:00
2008-07-25 10:53:30 -07:00
2008-08-08 15:13:27 +01:00
2008-08-28 08:33:23 +02:00
2008-10-05 18:23:27 +02:00
2008-07-25 10:53:42 -07:00
2008-08-02 18:36:10 +01:00
2008-07-25 10:53:39 -07:00
2008-07-30 09:41:45 -07:00
2008-07-24 10:47:17 -07:00
2008-08-25 17:28:25 +03:00
2008-09-01 09:47:16 +02:00
2008-08-11 15:25:07 +02:00
2008-07-24 10:47:41 -07:00
2008-07-27 01:56:38 +02:00
2008-07-27 01:54:58 +02:00
2008-08-02 16:28:50 +02:00
2008-08-16 16:45:56 -07:00
2008-08-16 16:45:56 -07:00
2008-07-28 16:30:21 -07:00
2008-07-24 10:47:24 -07:00
2008-07-25 10:53:34 -07:00
2008-08-26 10:37:20 -07:00
2008-08-04 23:04:08 -07:00
2008-08-04 21:31:34 -07:00
2008-08-04 21:31:34 -07:00
2008-07-26 12:00:03 -07:00
2008-08-05 14:33:50 -07:00
2008-09-16 19:35:05 -07:00
2008-07-26 20:53:12 -04:00
2008-08-07 17:18:47 -07:00
2008-10-02 15:53:13 -07:00
2008-07-25 10:53:29 -07:00
2008-08-11 09:30:24 +02:00
2008-07-25 10:53:29 -07:00
2008-08-20 15:40:32 -07:00
2008-07-25 21:45:49 -07:00
2008-09-05 18:14:35 +02:00
2008-08-17 22:47:30 +10:00
2008-07-25 10:53:42 -07:00
2008-07-24 10:47:24 -07:00
2008-08-15 19:52:30 -07:00
2008-08-05 09:28:47 +03:00
2008-07-25 10:53:30 -07:00
2008-07-27 01:47:00 +02:00
2008-08-11 09:30:24 +02:00
2008-07-26 12:00:12 -07:00
2008-07-26 20:53:12 -04:00
2008-09-05 14:39:38 -07:00
2008-08-15 10:34:07 -07:00
2008-08-16 16:45:56 -07:00
2008-07-25 10:53:40 -07:00