Re: [PATCH 1/1] net: rds: use memset to optimize the recv
From: David Miller <davem@davemloft.net>
Date: 2018-09-17 04:01:07
Also in:
linux-rdma
From: David Miller <davem@davemloft.net>
Date: 2018-09-17 04:01:07
Also in:
linux-rdma
From: Zhu Yanjun <redacted> Date: Fri, 14 Sep 2018 04:45:38 -0400
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]();
Signed-off-by: Zhu Yanjun <redacted>This doesn't apply cleanly to net-next, please respin.