diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-09-13 00:22:44 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 21:02:42 +0300 |
commit | 3fdc546462348b8a497c72bc894e0cde9f10fc40 (patch) | |
tree | 15f67ac9422cad82f2a4db00bf10bae6bb27aad3 /fs/inode.c | |
parent | 103cc1fafee48adb91fca0e19deb869fd23e46ab (diff) | |
download | linux-3fdc546462348b8a497c72bc894e0cde9f10fc40.tar.xz |
NFSD: Reduce amount of struct nfsd4_compoundargs that needs clearing
Have SunRPC clear everything except for the iops array. Then have
each NFSv4 XDR decoder clear it's own argument before decoding.
Now individual operations may have a large argument struct while not
penalizing the vast majority of operations with a small struct.
And, clearing the argument structure occurs as the argument fields
are initialized, enabling the CPU to do write combining on that
memory. In some cases, clearing is not even necessary because all
of the fields in the argument structure are initialized by the
decoder.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions