From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752857AbeCaDfD (ORCPT ); Fri, 30 Mar 2018 23:35:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:33648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752829AbeCaDfC (ORCPT ); Fri, 30 Mar 2018 23:35:02 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 631352175D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=frederic@kernel.org From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Sebastian Andrzej Siewior , Tony Luck , Peter Zijlstra , "David S . Miller" , Michael Ellerman , Helge Deller , Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Ingo Molnar , Fenghua Yu , "James E . J . Bottomley" Subject: [PATCH 00/10] softirq: Consolidate and optimize softirq mask v2 Date: Sat, 31 Mar 2018 05:34:43 +0200 Message-Id: <1522467293-7320-1-git-send-email-frederic@kernel.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Only the last patch has changed since v1 to integrate review from peterz. Quote from the v1 summary: The softirq mask and its accessors/mutators have many implementations scattered around many architectures. Most do the same things consisting in a field in a per-cpu struct (often irq_cpustat_t) accessed through per-cpu ops. We can provide instead a generic efficient version that most of them can use. In fact s390 is the only exception because the field is stored in lowcore. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git softirq/mask-v2 HEAD: cce39c380f2dbe3e92db6a018c8ba65579c6311b Thanks, Frederic --- Frederic Weisbecker (10): ia64: Convert local_softirq_pending() to per-cpu ops sparc: Convert local_softirq_pending() to use per-cpu op softirq: Turn default irq_cpustat_t to standard per-cpu softirq: Consolidate default local_softirq_pending() implementations ia64: Switch to generic local_softirq_pending() implementation parisc: Switch to generic local_softirq_pending() implementation powerpc: Switch to generic local_softirq_pending() implementation sparc: Switch to generic local_softirq_pending() implementation x86: Switch to generic local_softirq_pending() implementation softirq/s390: Move default mutators of overwritten softirq mask to s390 arch/ia64/include/asm/hardirq.h | 2 +- arch/parisc/include/asm/hardirq.h | 8 -------- arch/powerpc/include/asm/hardirq.h | 7 ------- arch/s390/include/asm/hardirq.h | 2 ++ arch/sparc/include/asm/hardirq_64.h | 5 +++-- arch/x86/include/asm/hardirq.h | 8 -------- include/linux/interrupt.h | 13 ++++++++++--- include/linux/irq_cpustat.h | 10 +++------- kernel/softirq.c | 4 ++-- 9 files changed, 21 insertions(+), 38 deletions(-)