Received: by 10.213.65.68 with SMTP id h4csp1057434imn; Wed, 28 Mar 2018 19:28:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/v7UZWthW1fD80TANFH1ZQQPrpotAbPnXMzv0Rr5BV/d/9IkOyUIJQGGHRzxnZiZvEMAtC X-Received: by 2002:a17:902:144:: with SMTP id 62-v6mr6358003plb.202.1522290531763; Wed, 28 Mar 2018 19:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522290531; cv=none; d=google.com; s=arc-20160816; b=q5uHytx+LSBU1K30mwtBV+ugMbCDBcw5crrqT1Kse8tk8OZK2hN5wOlI25/VE8uKgz 7H2VS+06ZAngrdowWafgjoPPXcuoHERttPJxJOAtxYyyLagJ8WdMl7MRxKrTV4a6K1ne HDXqd/A4qohnM0jcfh/1vqsl4/XxWSpUQ8u9NZKoE3XY8m/Dl2ctQh7PpDnJTbMWoSOW Sx60ROc35TRcnaJzdgU9duTJ4AOQxh3G2GLq4lPnuE7lypkDNNVNdvfMS15FgzvwWD/+ 1j7JgLlIpBpvFEH+jDrEkGz/1AFcWANg6GC3WKQH+2OYCcUW3qt3tnbvcr+UpCwQBP64 XZEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:arc-authentication-results; bh=9HS4BPpXX+DacZKcT/EiSTc0LsU9qbE0GHkGOMHRklA=; b=KSjCOcg0T9LE03wLzl4oZ7zmwFbQHeGvO9DHT525bzQ4rp6byKiPEILEDopBSFTg1U Tx2yTWn8sg9hItve1/HFtrOon+f6PeZ9T3jzxsBEPRpQBP600W272oPqPqYAkMnxiriF n6BV1K10/dEHMSi5oRLWq6JJyp47BTg7XgBKxmseIUsuUtOkNDEd4Tv9tiJgjvI2u2gm dUt0srq5Dl7dnUtVesexuTZ0CTGxrmvfBajyWiGlGZ4hW9hdLKsFqQqe3UgamW5vA8tG N4sLHVIKH0b5+sWW9EXAsFL+cQJSUKjHcqqvYuiap+12+hfIDbb177Rvte+hh+P4r03L /0VA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i35-v6si167893plg.504.2018.03.28.19.28.38; Wed, 28 Mar 2018 19:28:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751249AbeC2C1S (ORCPT + 99 others); Wed, 28 Mar 2018 22:27:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:42092 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbeC2C1R (ORCPT ); Wed, 28 Mar 2018 22:27:17 -0400 Received: from lerouge.home (LFbn-1-18526-44.w90-101.abo.wanadoo.fr [90.101.68.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C8A6A2177A; Thu, 29 Mar 2018 02:27:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C8A6A2177A 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 Date: Thu, 29 Mar 2018 04:26:55 +0200 Message-Id: <1522290425-22844-1-git-send-email-frederic@kernel.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 HEAD: fb3db1bfa6033202c4b8191e570f39d3777d6a9d 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: Remove __ARCH_SET_SOFTIRQ_PENDING arch/ia64/include/asm/hardirq.h | 2 +- arch/parisc/include/asm/hardirq.h | 8 -------- arch/powerpc/include/asm/hardirq.h | 7 ------- arch/sparc/include/asm/hardirq_64.h | 5 +++-- arch/x86/include/asm/hardirq.h | 8 -------- include/linux/interrupt.h | 16 ++++++++++++++-- include/linux/irq_cpustat.h | 10 +++------- kernel/softirq.c | 4 ++-- 8 files changed, 23 insertions(+), 37 deletions(-)