summaryrefslogtreecommitdiffstats
path: root/net/xdp/xdp_umem.c
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2018-09-17 04:49:30 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-17 17:19:51 +0200
commit1635bb548f846804af3054872fbd1395783ac03e (patch)
tree06a5926a65d91b8f0a2a4eef0d621f229ae47d64 /net/xdp/xdp_umem.c
parentselftests/tls: Add MSG_WAITALL in recv() syscall (diff)
downloadlinux-1635bb548f846804af3054872fbd1395783ac03e.tar.xz
linux-1635bb548f846804af3054872fbd1395783ac03e.zip
net: rds: use memset to optimize the recv
The function rds_inc_init is in recv process. To use memset can optimize the function rds_inc_init. The test result: Before: 1) + 24.950 us | rds_inc_init [rds](); After: 1) + 10.990 us | rds_inc_init [rds](); Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xdp/xdp_umem.c')
0 files changed, 0 insertions, 0 deletions