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

Santosh Shilimkar santosh.shilimkar at oracle.com
Fri Sep 14 09:51:00 PDT 2018


On 9/14/2018 1:45 AM, Zhu Yanjun wrote:
> 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>
> ---
Looks good. Thanks !!

Acked-by: Santosh Shilimkar<santosh.shilimkar at oracle.com>



More information about the rds-devel mailing list