Skip to content
Commit 861703b4 authored by Santosh Kumar Pradhan's avatar Santosh Kumar Pradhan Committed by Leon Romanovsky
Browse files

RDMA/rtrs-clt: Use this_cpu_ API for stats

Use this_cpu_x() for increasing/adding a percpu counter through a
percpu pointer without the need to disable/enable preemption.

Link: https://lore.kernel.org/r/20220712103113.617754-3-haris.iqbal@ionos.com


Suggested-by: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarSantosh Kumar Pradhan <santosh.pradhan@ionos.com>
Signed-off-by: default avatarJack Wang <jinpu.wang@ionos.com>
Signed-off-by: default avatarMd Haris Iqbal <haris.iqbal@ionos.com>
Acked-by: default avatarGuoqing Jiang <guoqing.jiang@linux.dev>
Reviewed-by: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent ed6e5382
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment