[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221026104015.565468-1-haiwenyao@uniontech.com>
Date: Wed, 26 Oct 2022 18:40:13 +0800
From: Wen Yao <haiwenyao@...ontech.com>
To: paul.walmsley@...ive.com, palmer@...belt.com,
aou@...s.berkeley.edu, dennis@...nel.org, tj@...nel.org,
cl@...ux.com
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, Wen Yao <haiwenyao@...ontech.com>
Subject: [PATCH 0/2] riscv: Rewrite percpu operations and support cmpxchg-local feature
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
Powered by blists - more mailing lists