Received: by 10.213.65.68 with SMTP id h4csp3269531imn; Tue, 3 Apr 2018 01:43:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+1EvEmRU8b3Bxh2azGVa4FlQ7rotJJUP3fWIyef1AzCvRe+jyZ/TKjbkIHM5fCYQoc9Z7h X-Received: by 10.101.72.9 with SMTP id h9mr8441411pgs.88.1522745015231; Tue, 03 Apr 2018 01:43:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522745015; cv=none; d=google.com; s=arc-20160816; b=dltAaIyGZzoCzqrnoxoofHq90RSN/ru+ZLD2eg0mDbVgk2uD7W2XbJ06CnGoX7p3e8 PXDiup9qccFvHTjFA7G/fvVqTRPQDxAMtpnioDgk+w0YDde/4ocTcwE9w7N6KIbNZslJ UQkPieQ6v4jjV7f2D0KkZLoPITnTjLtMcs6XbLJaPFhB8jdFjiy/+sgfx1VVswDX92+F hKXMP8CuPRyAu7RIbBeFfEW8IHOglscAy6BRzxxSFptcKNNwL0rhAcHxbMMbq1HN4Fr3 PC57FaBD+1zOuucJNgxjdby8ZGm5uvaiX0yu6C4BOUhfH+x2JhP6isbgjmMC6g7fDZ47 SQ0g== 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=dLlMpGKpzup0++k79D/AZZgkmMRVYWu70nhlCU2L2KU=; b=E1i3Z+SgZUVpahR2oHJiGQeUpllkl8+GjTOpgaIuF+g7o9N/dV8OwNlkgHRmFwUnFL wes5AaHWt8t0IFehdAKDdRhMGb0QHKT9A4NCfX09L5QASPL6Arho32qETiEu6ZD9EPvE SnI+XQjZcYKEVT5y4uAMU70juV2De3yNy1K88iOTHFLn9aB/xmm96dtJahiIcwx6fadI 843DNIAqn974voh5RXFSibyYpVU152bRe6mktx4iA5Y/21iYl5WqEQme754eHHBOCs2Q hQdZGHbe7q2f+wYqHmOi18yuVDk02gvCyqZITCN76rzRTEVTjj3hMs5nvOojgzBx5J63 8JmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=dmv9JpRV; 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 i133si1629782pgc.299.2018.04.03.01.43.21; Tue, 03 Apr 2018 01:43:35 -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=dmv9JpRV; 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 S1755190AbeDCImQ (ORCPT + 99 others); Tue, 3 Apr 2018 04:42:16 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58206 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755133AbeDCImP (ORCPT ); Tue, 3 Apr 2018 04:42:15 -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=dLlMpGKpzup0++k79D/AZZgkmMRVYWu70nhlCU2L2KU=; b=dmv9JpRV8dxZfpyGMyw1698q5 +b9GvRS36uRmHBWx/b6WyvJY1RifnAwdSte5uqa4mg4lghUdmmO7tRlwuM62BYnetkms1BqudIdOd jPN7uzrcnrqHHIZHOBOE3YS8WVE/2rvJL6nDKbHGVKW6sMMOUylqaehgsg+vrSTGyneaiz5XcZCjw DdbVlcS+zfl5tpFVaglKHOiHR8tQlPki0b6pTI5DcrhNW18rzSRWI4MEpLiFano8h3DmO6YbUWtzy 1n56ICeX14r3RPRRUndvZQNr7q0LPo0rw9dAegKZKdFf+KnRz4Spfw4xdceCnl3BwdFxGeqqdvrKB ByV/Of5wQ==; 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 1f3HW0-0005Wf-7k; Tue, 03 Apr 2018 08:42:04 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 23CED202A4A09; Tue, 3 Apr 2018 10:42:01 +0200 (CEST) Date: Tue, 3 Apr 2018 10:42:01 +0200 From: Peter Zijlstra To: Martin Schwidefsky 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 Message-ID: <20180403084201.GX4082@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> <20180403075225.69ad3d25@mschwideX1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180403075225.69ad3d25@mschwideX1> 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 Tue, Apr 03, 2018 at 07:52:25AM +0200, Martin Schwidefsky wrote: > 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. Fair enough; and yes 8k isn't much. Thanks for the info.