Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3077237pxb; Tue, 24 Aug 2021 14:42:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOVFYcga30qhhkN/8b3SIl7zlqN8690+LgRikq3FOk/CjtVuUhoxgu6kAOUYlxOb5gX0X3 X-Received: by 2002:a5e:dd42:: with SMTP id u2mr21898665iop.157.1629841377919; Tue, 24 Aug 2021 14:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629841377; cv=none; d=google.com; s=arc-20160816; b=F2SzXO/XCIgNTod+JuW1N6HK7b0Ku28sYzwYHQBHfRIeTCR5XKZk5qv9ueQRx30149 sFDlC/4HB3U40v+/796FRu4H8Xg3+euI/TGyNlytJfv5FIrQQHlEQCby9FNTI4oCilNl gO0GkYgr8TutR9DTsPdSVL2bwnQtmqMknj4nDbM/9M9uuv57Dv5SHTRy3b5/QC/8AAIF PHbZbkaCw6aX0dW42SvNxDbHDPyTNuAogU3a5LG8s1NJw3SwOtkzN1+aD3TzMtKLt4Oo RDMuOQ6+XMTLe4pN+4JCBXvRg81pxtvVYNxibu6uAGNDcZ/QEWP0BF+vrDqBkLeiJ9WK 7RRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date; bh=2ddY15TX3SvJDlV8dqZ/QG9S1CsKDkIhdmZjIvgN4bI=; b=HcYeW5nrRMWlXPM2qAnHmiJV79Ifvs+3bYzUTkX4U5Oit2SY3CEYWufPin0nLMsQJ6 f8QDMDMFhFtGWyCiGIODln2zZRnHzQQE4Jo+JBowbo2Ux6IJHw2fJ2VAnK4dxtdAzbG0 4068fYEsfWWfEf3Lvrf2PDpBsK6wvVIbZ5u2AhMhRjfvBx+CInuBJwp1XPV3XebBl5sc Rax3Pm4NPDGtHgq010q77S3KCo1e/LYfwDr1vb2fjwmrnlvcYws1E4ZNo/KzjEY1HScc PSgFHX0DZk6Lsmn625cAq52ykHwnTpHDOKaqarcIrNIeqM6yFkvDg3r7B0I6hfh3xCKh 8AtA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v2si14076405iot.49.2021.08.24.14.42.46; Tue, 24 Aug 2021 14:42:57 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235508AbhHXVmP (ORCPT + 99 others); Tue, 24 Aug 2021 17:42:15 -0400 Received: from scorn.kernelslacker.org ([45.56.101.199]:43442 "EHLO scorn.kernelslacker.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235505AbhHXVmM (ORCPT ); Tue, 24 Aug 2021 17:42:12 -0400 X-Greylist: delayed 66273 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Aug 2021 17:42:12 EDT Received: from [2601:196:4600:6634:ae9e:17ff:feb7:72ca] (helo=wopr.kernelslacker.org) by scorn.kernelslacker.org with esmtp (Exim 4.92) (envelope-from ) id 1mIe3R-0001GT-2b; Tue, 24 Aug 2021 17:33:57 -0400 Received: by wopr.kernelslacker.org (Postfix, from userid 1026) id AF50556006F; Tue, 24 Aug 2021 17:33:42 -0400 (EDT) Date: Tue, 24 Aug 2021 17:33:42 -0400 From: Dave Jones To: Linus Torvalds Cc: Peter Zijlstra , Linux Kernel , Johannes Weiner Subject: Re: 5.14-rc breaks iotop swap io monitoring. Message-ID: <20210824213342.GA1708@codemonkey.org.uk> Mail-Followup-To: Dave Jones , Linus Torvalds , Peter Zijlstra , Linux Kernel , Johannes Weiner References: <20210824031648.GA2725@codemonkey.org.uk> <20210824151943.GA386@codemonkey.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Note: SpamAssassin invocation failed Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 24, 2021 at 09:34:02AM -0700, Linus Torvalds wrote: > On Tue, Aug 24, 2021 at 8:19 AM Dave Jones wrote: > > > > On Tue, Aug 24, 2021 at 10:31:16AM +0200, Peter Zijlstra wrote: > > > > > > If you need DELAYACCT I'm thinking: > > > > > > e4042ad49235 ("delayacct: Default disabled") > > > > > > and > > > > > > 0cd7c741f01d ("delayacct: Add sysctl to enable at runtime") > > > > That does sound more relevant. however, even after echo 1 > /proc/sys/kernel/task_delayacct, > > it still fails in the same way. > > Hmm. > > What happens if you boot with the 'delayacct' kernel parameter. > > Even if you enable it at run-time, processes that have been started > before it was enabled won't actually have the 'tsk->delays' > allocation. So I'm not sure how effective the run-time thing is. Yeah that boot option does make iotop work again. Dave