Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4374209pxb; Thu, 14 Oct 2021 04:10:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwWjWDryFkzxnM7hdX6y5joa0t/odtulNVVRdz3ncCNTeFiN4Vk7y7qpg99m7pZC2f7gg6 X-Received: by 2002:a17:906:a89a:: with SMTP id ha26mr2944633ejb.151.1634209816907; Thu, 14 Oct 2021 04:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634209816; cv=none; d=google.com; s=arc-20160816; b=JRJLfDjuEzoPMsTv0nKyNO3fBrz4+L2QWUnEfiLpsQ8+t94u/VdbXFxCTVg4V4LA3y pbl5bU49dyRdJ/fw7O/+RLfu9RqymeQT2nzpmsQ6GyMgh8VgsWS/XWEyaW08UgoRFtHM GNm2L8SJSrlQohro42umGrVAe+Smk2AjJnxtg24K0Twde17kZSxIt9svdPfYW5jiM4RG leWbIf9xiZ0ZSQmOJFmJo8jymzqxG9XhBxs67X44W6AdGi+q6uP4BalTYxMoC0TW+LIj RdmBwqpUk4xqa/Nj63DhfySQBHVllSQWr3Q7o6tXfvwEEhbTAflexK2c4WaJAu+b0Mtx 1EwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=77VgjRIde6vwrbjli0psB7WD0kOrKVS+AX+DTq527kY=; b=ocy4uihOmeysvflXTITnFzH2AJjQ4oDoil7+uIIUvFVHpS9qcteCmvQ1mK3BPNZkDY 4aGWLfi9/6fblJBhb4AVtxoGchq7dct9ILYASgsLFJrTT97j1w9+c+EH3twXNRtCPJP3 wuyhPjcUZVEZFaOMFHJ+CcEpvDuNDeo6FsCqH/sLB0Z/1WGu/aOsOLTV2k78r/ogxBdK fYfWPiZgzO32MdSUIItnzRfJ3DZRjwIWUAD4J9VdqeHAWkXqyVPIaOyhfS9IB2MfHKUb wvXaEF7tAlOxK3VaaSNP/3w+pxlyEdDrGNMuY32QGxUbsSxzdiEM14YXJjfS9y+CKm5r QC0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=OFc23zjq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l1si3162877edj.475.2021.10.14.04.09.53; Thu, 14 Oct 2021 04:10:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=OFc23zjq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230272AbhJNLJt (ORCPT + 99 others); Thu, 14 Oct 2021 07:09:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230080AbhJNLJr (ORCPT ); Thu, 14 Oct 2021 07:09:47 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2041FC061570; Thu, 14 Oct 2021 04:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: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=77VgjRIde6vwrbjli0psB7WD0kOrKVS+AX+DTq527kY=; b=OFc23zjqWRPL0UVhuJbDqj8Mqh mfDbpqRGvNvE6FafTd32fExbhNT3WG1AuznDKUPdN8l9mpNjAHslTNQf2mkbjv/3jDBmWB+IZkJHd yE/hy3j1ce3n51aNMARZjXFpuX+ZYQ8/rtR70DtjSmvHX79Gko91eC/eBT0ULMeqHQcPNqjmADUHm QU5l1jK6RmiGobV13xqTG+bDr0Lv/gCxOf5Jue6y++ne5mRm3hAGcoNDS7I+fDTbK2NdHDy4R2qD4 gEuS5xlsp2bIqWt3+b6eQzCSqUHKZiub1L/tmCjKUbtzBDaXsB1A9emf3LtR9++wuK2g0a0XrO1Mp 2ci62zJQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55090) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mayaB-0001EW-KU; Thu, 14 Oct 2021 12:07:31 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1maya3-00025Z-J0; Thu, 14 Oct 2021 12:07:23 +0100 Date: Thu, 14 Oct 2021 12:07:23 +0100 From: "Russell King (Oracle)" To: Peter Zijlstra Cc: keescook@chromium.org, jannh@google.com, linux-kernel@vger.kernel.org, vcaputo@pengaru.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, akpm@linux-foundation.org, christian.brauner@ubuntu.com, amistry@google.com, Kenta.Tada@sony.com, legion@kernel.org, michael.weiss@aisec.fraunhofer.de, mhocko@suse.com, deller@gmx.de, zhengqi.arch@bytedance.com, me@tobin.cc, tycho@tycho.pizza, tglx@linutronix.de, bp@alien8.de, hpa@zytor.com, mark.rutland@arm.com, axboe@kernel.dk, metze@samba.org, laijs@linux.alibaba.com, luto@kernel.org, dave.hansen@linux.intel.com, ebiederm@xmission.com, ohoono.kwon@samsung.com, kaleshsingh@google.com, yifeifz2@illinois.edu, jpoimboe@redhat.com, linux-hardening@vger.kernel.org, linux-arch@vger.kernel.org, vgupta@kernel.org, will@kernel.org, guoren@kernel.org, bcain@codeaurora.org, monstr@monstr.eu, tsbogend@alpha.franken.de, nickhu@andestech.com, jonas@southpole.se, mpe@ellerman.id.au, paul.walmsley@sifive.com, hca@linux.ibm.com, ysato@users.sourceforge.jp, davem@davemloft.net, chris@zankel.net Subject: Re: [PATCH 6/7] arch: __get_wchan || STACKTRACE_SUPPORT Message-ID: References: <20211008111527.438276127@infradead.org> <20211008111626.392918519@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211008111626.392918519@infradead.org> Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 08, 2021 at 01:15:33PM +0200, Peter Zijlstra wrote: > It's trivial to implement __get_wchan() with CONFIG_STACKTRACE > > Signed-off-by: Peter Zijlstra (Intel) This definitely needs testing, but looking at the code, I think this will be compatible since we're essentially doing the same tests to omit scheduling functions in both the old and replacement code. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!