Received: by 10.213.65.68 with SMTP id h4csp1231094imn; Thu, 29 Mar 2018 00:17:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Nec5Txo1JQcUkt16bxF6E0BREdrJy7z/4cdNt8FDeGdyc9P/n6n0goheEYsnvNlsYFfSW X-Received: by 10.101.66.132 with SMTP id j4mr4818643pgp.47.1522307872083; Thu, 29 Mar 2018 00:17:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522307872; cv=none; d=google.com; s=arc-20160816; b=yGdp4nsaPre337poScYgZG0bgQdoE4lJyxNt6t7YemMcBwJoK1K/CheY/1tKDKRpji o1LDGreNJJuU3MNYBIEUxhxZ9rWGbPYgkYb76nbfJ8dwDnybw/Sa7szgo7BEypp1u2Pk j7BGIZWRMWcf2w4TIAykaJB79/B7m8QyQzdthRUc8nJJx7vggkfJn1ofqg5YDa07h4FL b/F4VeOsc21YzI57UX/Yxu0OtqPvHJR7EhRCT7hYahFXem0lfvE1RPSrpmGYeKTnJ76z xfpUrkePFtndsg11krNbsfRwSSDvTR2ZLS5bT6V9ONY+uQHvS6csdb4BkfJN2pVfdd0o GG/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Y2xH7y6NdfP88/jMB3hYprPD05pP601MoycCOyLZtpo=; b=InO08K7NQPofuod1h0xx301z7QgdugGAejIfZrU8AHKTT1MCKpE2E27Fnsd4iKXrIN 6/cpOjGTJADQbhlgqKw/EJpEGfWFM1Yon4qY5te88zTOijMjiSO/dShQkExxchg4EPkj Wrv1due88FjyRIFGqr97QqmzoL8lcEpD97fzQm/u1Br6JStm9M0ZaT1MuWJ376qr6PLH 7/Chl8618B5jcmkrAoDIGNAnjBn7Yyr504SEyP50pc90LRz6U+ux8vmIauu2DQoA24/l v8+ogCSd1EssYP6cjk9JFwfp+IIUFJBOt6IOFyUpkI3AZzN9GdQN5nsEEspTiH2aIp+l 1WeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=h800/Ja7; 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 y10-v6si5506377plt.533.2018.03.29.00.17.38; Thu, 29 Mar 2018 00:17:52 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=h800/Ja7; 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 S1751896AbeC2HQk (ORCPT + 99 others); Thu, 29 Mar 2018 03:16:40 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52324 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750946AbeC2HQf (ORCPT ); Thu, 29 Mar 2018 03:16:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Y2xH7y6NdfP88/jMB3hYprPD05pP601MoycCOyLZtpo=; b=h800/Ja74XownuoQpviammc1+ vMN+6OUAK2f9L0w8gev5iyakKIE4Wo8njxLu1yr9O8MMBj2i8hne90EB9enS7GFCqXViiAsbs6SdU PF+ojUfuVHu0phvsJIr9sudke5Jre+mFAnoBvxZryBGGHNhr1zMeVj9tdvPkJRcmYR05JXnuxKUaJ B+k2nHMnAF1mm67eC8N1daUjjWwILT246X3W5l+oB4SAyyMCh2AI+XY8PRM2wyYR+/Sw3XtEfx1f4 6Bn90b0fqZM9Atqbsg49UocPYE5tDQuyOBCqJes90buuvJrZVy7im3SFZJOF+HQsFjC01Jvs/62Fp Euw2XhBFQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1f1RnJ-0005nq-Eg; Thu, 29 Mar 2018 07:16:21 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 116682029B091; Thu, 29 Mar 2018 09:16:19 +0200 (CEST) Date: Thu, 29 Mar 2018 09:16:19 +0200 From: Peter Zijlstra To: Frederic Weisbecker Cc: LKML , Sebastian Andrzej Siewior , Tony Luck , "David S . Miller" , Michael Ellerman , Helge Deller , Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Ingo Molnar , Fenghua Yu , "James E . J . Bottomley" Subject: Re: [PATCH 10/10] softirq: Remove __ARCH_SET_SOFTIRQ_PENDING Message-ID: <20180329071619.GO4082@hirez.programming.kicks-ass.net> References: <1522290425-22844-1-git-send-email-frederic@kernel.org> <1522290425-22844-11-git-send-email-frederic@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1522290425-22844-11-git-send-email-frederic@kernel.org> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 29, 2018 at 04:27:05AM +0200, Frederic Weisbecker wrote: > The last user of __ARCH_SET_SOFTIRQ_PENDING has been converted to generic > per-cpu softirq mask. We can now remove this conditional. This seems like half a cleanup; who still has local_softirq_pending() after this? > > #else /* local_softirq_pending */ > > -#ifndef __ARCH_SET_SOFTIRQ_PENDING > #define set_softirq_pending(x) (local_softirq_pending() = (x)) > #define or_softirq_pending(x) (local_softirq_pending() |= (x)) > -#endif > > #endif /* local_softirq_pending */