[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210824173527.GA17784@worktop.programming.kicks-ass.net>
Date: Tue, 24 Aug 2021 19:35:27 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Dave Jones <davej@...emonkey.org.uk>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Johannes Weiner <hannes@...xchg.org>
Subject: Re: 5.14-rc breaks iotop swap io monitoring.
On Tue, Aug 24, 2021 at 09:34:02AM -0700, Linus Torvalds wrote:
> 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.
Right; we *could* fix that by looping through the tasklist; grabbing a
task ref, doing the alloc and restarting until we've iterated the whole
tasklist and not found a task without a delays thing.
Didn't think it would be worth it, but can be done..
Powered by blists - more mailing lists