Home
last modified time | relevance | path

Searched hist:"3 fdc546462348b8a497c72bc894e0cde9f10fc40" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/nfsd/
H A Dnfs4proc.cdiff 3fdc546462348b8a497c72bc894e0cde9f10fc40 Mon Sep 12 16:22:44 CDT 2022 Chuck Lever <chuck.lever@oracle.com> 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>
H A Dnfs4xdr.cdiff 3fdc546462348b8a497c72bc894e0cde9f10fc40 Mon Sep 12 16:22:44 CDT 2022 Chuck Lever <chuck.lever@oracle.com> 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>