[rds-devel] [PATCHv2 net-next 1/1] net: rds: use memset to optimize the recv
David Miller
davem at davemloft.net
Mon Sep 17 08:21:07 PDT 2018
From: Zhu Yanjun <yanjun.zhu at oracle.com>
Date: Sun, 16 Sep 2018 22:49:30 -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]();
>
> Acked-by: Santosh Shilimkar <santosh.shilimkar at oracle.com>
> Signed-off-by: Zhu Yanjun <yanjun.zhu at oracle.com>
> ---
> V1->V2: a new patch for net-next
Applied.
More information about the rds-devel
mailing list