Received: by 10.213.65.68 with SMTP id h4csp3147120imn; Mon, 2 Apr 2018 22:55:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+uxIFeTLCu5Dl3gm9f7enKrP4ergWH/U/+397oxUR78wWxhScZuKK6DKF0i3jNegyqD9hT X-Received: by 10.101.66.139 with SMTP id j11mr1800691pgp.370.1522734921827; Mon, 02 Apr 2018 22:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522734921; cv=none; d=google.com; s=arc-20160816; b=iX9zSv7QDLGrx18oeFX/HIIoV4hH7aV33mVu9di+zW5GAJ1uoTmIk+Z7X6AaOAqMKi 3UTc3siBqazkx/uUb5YCVuBqMwndh5Oot4JAWl+qiQjXTcliCHImpNL+RfF+nYJMO0QS lJ3Aj1OnxExCIbD5XNo2GGBuZHIkhuN+Tp7T6Aq2SiVC5hYhbLkAyLjhui13uTS47+wg PVR5wjQbUZ9Mo01FbLLsJWbBorN/+ixHB6LfjpQgeLA8xVhMOQVqcgO8pJx7LIF968Y3 6/6Qs4liW2GiwgFFucULQ6Y3tkOggPZHBsuJ1NolaVo+ErFDq028eaM/mQjV2wCajRkS V1HA== 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=X3JcUndTc+8EqizEoWf6HS0VsxWqQ4xQGYas4k585V4=; b=cuRlXU6q6FszjBIGEeGSdHitgQH0WGfnoK4vX+Z8LVyjT8dWxNqqMfGpsh9IF/nPsI HFo0mwRGzdeSD2o+6V28wgEYqPWxuxW9hFRjjW0l1yEJ4cYuK+KyJIowm5/Nd2PeaztQ Kt+1hWMTjxZQkacIBXfcemJL2NeadIQWANPd9rIilwJ1Hp0i5+/TIxNGG1yfUcSis0lO vANx50Is7J6JYgtUKm2k4NAzPAnutzQkktgP0Cq9e8BUsjOExl3/1UiyXktM28zbL8gH IKDHOnwm/buniSZ9osgpgDB3GWfWQl5/Hbuawa/R1w6Sz9FncNVkcu4XjKJTS/PoulzV u3aw== 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 t132si1370122pgc.350.2018.04.02.22.55.05; Mon, 02 Apr 2018 22:55:21 -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 S1754812AbeDCFwn (ORCPT + 99 others); Tue, 3 Apr 2018 01:52:43 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:55174 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754305AbeDCFwm (ORCPT ); Tue, 3 Apr 2018 01:52:42 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w335nFg2125080 for ; Tue, 3 Apr 2018 01:52:41 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0b-001b2d01.pphosted.com with ESMTP id 2h3wbe4351-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 03 Apr 2018 01:52:41 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 3 Apr 2018 06:52:39 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 3 Apr 2018 06:52:28 +0100 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w335qSWv49217664; Tue, 3 Apr 2018 05:52:28 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 542BF42045; Tue, 3 Apr 2018 06:44:20 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C557F42042; Tue, 3 Apr 2018 06:44:19 +0100 (BST) Received: from mschwideX1 (unknown [9.145.52.101]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 3 Apr 2018 06:44:19 +0100 (BST) Date: Tue, 3 Apr 2018 07:52:25 +0200 From: Martin Schwidefsky To: Peter Zijlstra Cc: Frederic Weisbecker , 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: <20180329180836.GS4082@hirez.programming.kicks-ass.net> 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> <20180329165343.39f4486f@mschwideX1> <20180329180836.GS4082@hirez.programming.kicks-ass.net> 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: 18040305-0040-0000-0000-00000448FD40 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18040305-0041-0000-0000-000020ED0620 Message-Id: <20180403075225.69ad3d25@mschwideX1> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-04-03_03:,, 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-1804030062 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 29 Mar 2018 20:08:36 +0200 Peter Zijlstra wrote: > On Thu, Mar 29, 2018 at 04:53:43PM +0200, Martin Schwidefsky wrote: > > 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. > > A slightly related question; would it make sense to move all kernel > static per-cpu stuff into lowcore, or is that asking for too much > trickery? The space in lowcore is quite limited, for zArch the structure is 8K with many pre-defined fields. I fear that putting all of the static per-cpu stuff in there is too much. So far I used the lowcore as optimization for selected per-cpu fields which are performance relevant. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.