[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230418150200.027528c155853fea8e4f58b2@linux-foundation.org>
Date: Tue, 18 Apr 2023 15:02:00 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Marcelo Tosatti <mtosatti@...hat.com>
Cc: Christoph Lameter <cl@...ux.com>,
Aaron Tomlin <atomlin@...mlin.com>,
Frederic Weisbecker <frederic@...nel.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Russell King <linux@...linux.org.uk>,
Huacai Chen <chenhuacai@...nel.org>,
Heiko Carstens <hca@...ux.ibm.com>, x86@...nel.org,
Vlastimil Babka <vbabka@...e.cz>,
Michal Hocko <mhocko@...e.com>
Subject: Re: [PATCH v7 00/13] fold per-CPU vmstats remotely
On Mon, 20 Mar 2023 15:03:32 -0300 Marcelo Tosatti <mtosatti@...hat.com> wrote:
> This patch series addresses the following two problems:
>
> 1. A customer provided evidence indicating that a process
> was stalled in direct reclaim:
>
> ...
>
> 2. With a task that busy loops on a given CPU,
> the kworker interruption to execute vmstat_update
> is undesired and may exceed latency thresholds
> for certain applications.
>
I don't think I'll be sending this upstream in the next merge window.
Because it isn't clear that the added complexity in vmstat handling is
justified.
- Michal's request for more clarity on the end-user requirements
seems reasonable.
- You have indicated that additional changelog material is forthcoming.
- The alternative idea of adding a syscall which tells the kernel
"I'm about to go realtime, so please clear away all the pending crap
which might later interrupt me" sounds pretty good.
Partly because there are surely other places where we can use this.
Partly because it moves all the crap-clearing into special
crap-clearing code paths while adding less burden to the
commonly-executed code.
And I don't think this alternative has been fully investigated and
discussed.
Powered by blists - more mailing lists