Received: by 10.213.65.68 with SMTP id h4csp1614872imn; Thu, 29 Mar 2018 07:55:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx48TtHEb5b2QcGLcQcaEWLMbdfV0J/8H8VQabINtU0P1CRL/ROpaH/mwZfreBj5p8/OlRESg X-Received: by 2002:a17:902:20eb:: with SMTP id v40-v6mr8724243plg.277.1522335331713; Thu, 29 Mar 2018 07:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522335331; cv=none; d=google.com; s=arc-20160816; b=fZkr86pOzz4m110Potd0/SprH8TPFjBlx51oUN+Gpk7E3OJQeZKB43od3v4ZbvMYP2 aNjHT7uY4zdMIvk8sleZQE9AhTSaxfTZMjuvoh/zmX2MQb3su+NBQkG8mAz0SyzIyC3B 5pesMdhNCJaegqTGeWT7VD6/TPaH56Y05UgzSnj86nKa0feBxX6lcMHvBVQfZk95cs2C GRzXzP8LSW7uy/UkRtlmOTEZ1lZ7/zZfJrKOB3vZPLp9pJHYQHMeTtBZ6HVy7pTbqf/5 jPymwLH0l7iAVzcF9UTRC5ZK+Jm8hfCW+DMugrhZ/+A2cxop4C/XEaUN+XUR/EgdeOyE GKFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=zXOx6m5giaI32QtEFEIVFHlUedPU5kMrr007dBhfH9M=; b=UpKe3j24Wmlb7aUFaa4dpW/CYUhcG2ABchoyAvjmXrVteJ93awh6aIcEUrCZTb0ExC ev1AHmccpM3nMXxmUR4CgEwDIZ4A8Y0J/3ip67VPxhDsM77MXDqk+rW50nQDWUlgqRw+ 4peISPrPXC6LiqOtzhjELWl8/lGs1tif5s39JcH+uFToPv+3cSuAatNMeeUmL1svvvOx JE7lGLLXIhDAy8jveWSKLyQ5uVKIf8TZliH2CCfaMdykSLFtxeDrHYgDl1AHOu17CAiG V3sJIbvDcI5z/bVbRk2uMCX+nBC89TnaRsa0dFNjHu3UeuLMqoV60AWSUvTfscPCPhq4 VCgQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si4139589pgc.269.2018.03.29.07.55.17; Thu, 29 Mar 2018 07:55:31 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751897AbeC2Ox4 (ORCPT + 99 others); Thu, 29 Mar 2018 10:53:56 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:55902 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750708AbeC2Oxy (ORCPT ); Thu, 29 Mar 2018 10:53:54 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2TEpmPd054162 for ; Thu, 29 Mar 2018 10:53:54 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0a-001b2d01.pphosted.com with ESMTP id 2h109wwtkn-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Thu, 29 Mar 2018 10:53:52 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 29 Mar 2018 15:53:50 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 29 Mar 2018 15:53:45 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2TErjMt57606244; Thu, 29 Mar 2018 14:53:45 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 734CF11C064; Thu, 29 Mar 2018 15:46:07 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 11DF911C054; Thu, 29 Mar 2018 15:46:07 +0100 (BST) Received: from mschwideX1 (unknown [9.152.212.220]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 29 Mar 2018 15:46:07 +0100 (BST) Date: Thu, 29 Mar 2018 16:53:43 +0200 From: Martin Schwidefsky To: Frederic Weisbecker Cc: Peter Zijlstra , 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" , heiko.carstens@de.ibm.com Subject: Re: [PATCH 10/10] softirq: Remove __ARCH_SET_SOFTIRQ_PENDING In-Reply-To: <20180329140748.GB12958@lerouge> References: <1522290425-22844-1-git-send-email-frederic@kernel.org> <1522290425-22844-11-git-send-email-frederic@kernel.org> <20180329071619.GO4082@hirez.programming.kicks-ass.net> <20180329134745.GA12958@lerouge> <20180329140111.GC4043@hirez.programming.kicks-ass.net> <20180329140748.GB12958@lerouge> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18032914-0044-0000-0000-000005414FF4 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18032914-0045-0000-0000-0000288152EF Message-Id: <20180329165343.39f4486f@mschwideX1> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-29_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803290157 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 29 Mar 2018 16:07:49 +0200 Frederic Weisbecker wrote: > On Thu, Mar 29, 2018 at 04:01:11PM +0200, Peter Zijlstra wrote: > > On Thu, Mar 29, 2018 at 03:47:46PM +0200, Frederic Weisbecker wrote: > > > On Thu, Mar 29, 2018 at 09:16:19AM +0200, Peter Zijlstra wrote: > > > > 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? > > > > > > Only s390 because it uses lowcore to store such cpu data. > > > > Is it worth keeping it there? It seems an aweful shame to keep this > > stuff special cased for just the one arch. At the very least this > > should've mentioned s390 is special and why. > > Right, I thought well about moving that special case to s390. I can > do that in v2. The lowcore optimization for softirq_pending field is not really needed, just nice to have. But if there is a strong reason to make a common definition for it we can certainly do that. First try has hit the wall due to include file hell though. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.