|
|
Subscribe / Log in / New account

x86/percpu semantics and fixes

From:  Peter Zijlstra <peterz-AT-infradead.org>
To:  torvalds-AT-linux-foundation.org, mingo-AT-kernel.org, bp-AT-alien8.de, tglx-AT-linutronix.de, luto-AT-kernel.org, namit-AT-vmware.com, peterz-AT-infradead.org
Subject:  [PATCH 0/5] x86/percpu semantics and fixes
Date:  Wed, 27 Feb 2019 11:12:52 +0100
Message-ID:  <20190227101252.413192716@infradead.org>
Cc:  linux-kernel-AT-vger.kernel.org
Archive-link:  Article

Hi all,

This is a collection of x86/percpu changes that I had pending and got reminded
of by Linus' comment yesterday about __this_cpu_xchg().

This tidies up the x86/percpu primitives and fixes a bunch of 'fallout'.

Built and boot tested with CONFIG_DEBUG_PREEMPT=y.

---
 arch/x86/include/asm/irq_regs.h |   4 +-
 arch/x86/include/asm/percpu.h   | 236 +++++++++++++++++++++-------------------
 arch/x86/include/asm/smp.h      |   3 +-
 arch/x86/mm/tlb.c               |  62 +++++------
 include/linux/smp.h             |  45 +++++---
 kernel/sched/fair.c             |   5 +-
 6 files changed, 193 insertions(+), 162 deletions(-)



Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds