commit | 1635bb548f846804af3054872fbd1395783ac03e | [log] [tgz] |
---|---|---|
author | Zhu Yanjun <yanjun.zhu@oracle.com> | Sun Sep 16 22:49:30 2018 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 17 08:19:51 2018 -0700 |
tree | 06a5926a65d91b8f0a2a4eef0d621f229ae47d64 | |
parent | 0185e2e69f8e640defb77380b6b0d054c2ec12e4 [diff] |
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>