diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-07-22 16:08:38 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-07-29 20:16:57 -0400 |
commit | 095a764b7afb06c9499b798c04eaa3cbf70ebe2d (patch) | |
tree | 0c404a2fdb9660498fd150b22cd8ad6f887a7f8e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3a5940bfa17fb9964bf9688b4356ca643a8f5e2d (diff) |
NFSD: Optimize nfsd4_encode_operation()
write_bytes_to_xdr_buf() is a generic way to place a variable-length
data item in an already-reserved spot in the encoding buffer.
However, it is costly, and here, it is unnecessary because the
data item is fixed in size, the buffer destination address is
always word-aligned, and the destination location is already in
@p.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions