lkml.org 
[lkml]   [2021]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 5.14-rc breaks iotop swap io monitoring.
On Tue, Aug 24, 2021 at 09:34:02AM -0700, Linus Torvalds wrote:
> On Tue, Aug 24, 2021 at 8:19 AM Dave Jones <davej@codemonkey.org.uk> 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

\
 
 \ /
  Last update: 2021-08-24 23:42    [W:9.435 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site