[rds-devel] [PATCH 1/1] net: rds: use memset to optimize the recv

David Miller davem at davemloft.net
Sun Sep 16 15:36:37 PDT 2018


From: Zhu Yanjun <yanjun.zhu at oracle.com>
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 <yanjun.zhu at oracle.com>

This doesn't apply cleanly to net-next, please respin.



More information about the rds-devel mailing list