lkml.org 
[lkml]   [2022]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] riscv: Rewrite percpu operations and support cmpxchg-local feature
Date
The series try to use riscv amo instructions to optimise some percpu
operations and select HAVE_CMPXCHG_LOCAL to support cmpxchg-local feature.

Wen Yao (2):
riscv: percpu:Add riscv percpu operations
riscv:kconfig:select HAVE_CMPXCHG_LOCAL

arch/riscv/Kconfig | 1 +
arch/riscv/include/asm/percpu.h | 101 ++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
create mode 100644 arch/riscv/include/asm/percpu.h

--
2.25.1

\
 
 \ /
  Last update: 2022-10-26 12:44    [W:0.072 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site