diff options
author | Santosh Kumar Pradhan <santosh.pradhan@ionos.com> | 2022-07-12 12:31:10 +0200 |
---|---|---|
committer | Leon Romanovsky <leonro@nvidia.com> | 2022-07-18 12:27:40 +0300 |
commit | 861703b4c76e645949b7a42bbcc48cf775fd45d4 (patch) | |
tree | 2d453de6966e8b3c986621da4d433914f07257ac /lib/xz | |
parent | ed6e53820ee4f68ed927de17e5675ff2a07a47e2 (diff) |
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: Christoph Lameter <cl@linux.com>
Signed-off-by: Santosh Kumar Pradhan <santosh.pradhan@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Acked-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Reviewed-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'lib/xz')
0 files changed, 0 insertions, 0 deletions