Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4574323pxb; Thu, 14 Oct 2021 07:54:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4OOxUt4rI+9K6kEwm1FFP7wAA3oCSd7DlOJNhfe9uECIAzUDWltI/kDK7acy4K3Joi5aQ X-Received: by 2002:a50:e004:: with SMTP id e4mr9326411edl.246.1634223263995; Thu, 14 Oct 2021 07:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634223263; cv=none; d=google.com; s=arc-20160816; b=tcOiQbY5geAN1TSRx36k4ijPSrX5GV6zW+Maw3QZsSqG+kasp9Xy4bAcPbhlpYa9yS 9nWSRIExfykRa/M1hd4oB2FIONx/XQ2zSZF88ZhIDdnTM7gpbA9vWMeTtCNvX9sGgR3B cwGtHFbmIyANlVFDOTb8zyWj0fwPeYDKqowJwrcYsRolmW8zsATfCfRdqVFCgz99KeRY Amr3F9kd/bN/m7QGvwS9HlDca/6AawQv9nCtxmowjbzCtSMBbwcxgF2RMLyiAxh2I8Fp kxH+j2PxAsWox5OSi6QHTkqOoGQBKRav978Ks7m6x6Z52FG8EvANvjjwYH5y1Td87P/c yKLw== 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=LQbu81zuvorNbNl7md+JgKHR7v/3E2/nFaDHpBUMKHE=; b=oQtzcGe/d+fWtiJlYXeXnWCqdV2Co3cke2srP6e//qZ5y3hyRCQHIQwQ+zDbljOixC XKoIp1LgPkejA+MD6wE2Ap9uatOMpN27pMQUw32kEe2v5vo2ecgxtgtVOZHW5+PmZjN6 ef8PJvF+BYvps34EY7GQMnLiOi0tYtTZVhlon5gLgxmQeAjdAzlEBP8qchEaacfc7Gs9 4+CbYdLIlzsAq8fQgsThW/gOu6MTj4YlDqIONI7ii6/r9R2re46B69MzhownvWhzJGtS TsaEpY8C9d82KyvhlSdINNztTr7BhID/vJsYeCSMXIjdOI5UmNrRnVr3r6lbABF9d3JN 2MkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=K+VqEeAQ; 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 gb35si2864233ejc.563.2021.10.14.07.53.59; Thu, 14 Oct 2021 07:54:23 -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=K+VqEeAQ; 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 S231316AbhJNMFJ (ORCPT + 99 others); Thu, 14 Oct 2021 08:05:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230172AbhJNMFH (ORCPT ); Thu, 14 Oct 2021 08:05:07 -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 06FD4C061570; Thu, 14 Oct 2021 05:03:02 -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=LQbu81zuvorNbNl7md+JgKHR7v/3E2/nFaDHpBUMKHE=; b=K+VqEeAQrYdM6TmqnvgqR8nQZ2 NUVGVVdJOKwbDDGJLr2XaNah8D3QzuwIEiRxNHZTCkRVBNPcsYGoyUwvsSFUkI26FQ57xybfxRkBr xIKCPhafKP5jWU8T3MrrEwNDfJlZ9qcmPxjI6L5P1Fyyd6l7J+c0+vDz8E4JQB8gBWwekKorq1TPB mTkG7hJstKx4fg034oRxe7rWHPayvwIpCm8kaC3EoNrDKi410bqJjM+2qNJuGSsLX8FJgTReiQ0Ke nvz5uY+7YlYlxuOcmgx+88lfZbqgtns6SWmoBoNUKgfH5gijloXLdNXfI3Cl4FyDKOoCE2NzAHUpf +RdYfERQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55094) 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 1mazRg-0001Ib-Rt; Thu, 14 Oct 2021 13:02:48 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mazRS-00028C-K9; Thu, 14 Oct 2021 13:02:34 +0100 Date: Thu, 14 Oct 2021 13:02:34 +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 0/7] wchan: Fix wchan support Message-ID: References: <20211008111527.438276127@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211008111527.438276127@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:27PM +0200, Peter Zijlstra wrote: > Hi, > > This fixes up wchan which is various degrees of broken across the > architectures. > > Patch 4 fixes wchan for x86, which has been returning 0 for the past many > releases. > > Patch 5 fixes the fundamental race against scheduling. > > Patch 6 deletes a lot and makes STACKTRACE unconditional > > patch 7 fixes up a few STACKTRACE arch oddities > > 0day says all builds are good, so it must be perfect :-) I'm planning on > queueing up at least the first 5 patches, but I'm hoping the last two patches > can be too. > > Also available here: > > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/wchan These patches introduce a regression on ARM. Whereas before, I have /proc/*/wchan populated with non-zero values, with these patches they _all_ contain "0": root@clearfog21:~# cat /proc/*/wchan 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000root@clearfog21:~# I'll try to investigate what is going on later today. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!