[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20191028155617.GA3156@cmpxchg.org>
Date: Mon, 28 Oct 2019 11:56:17 -0400
From: Johannes Weiner <hannes@...xchg.org>
To: Hillf Danton <hdanton@...a.com>
Cc: linux-mm <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Matthew Wilcox <willy@...radead.org>,
Michal Hocko <mhocko@...e.com>,
Shakeel Butt <shakeelb@...gle.com>,
Minchan Kim <minchan@...nel.org>, Mel Gorman <mgorman@...e.de>,
Vladimir Davydov <vdavydov.dev@...il.com>,
Jan Kara <jack@...e.cz>
Subject: Re: [RFC v2] mm: add page preemption
On Sat, Oct 26, 2019 at 07:28:08PM +0800, Hillf Danton wrote:
>
> The cpu preemption feature makes a task able to preempt other tasks
> of lower priorities for cpu. It has been around for a while.
>
> This work introduces task prio into page reclaiming in order to add
> the page preemption feature that makes a task able to preempt other
> tasks of lower priorities for page.
>
> No page will be reclaimed on behalf of tasks of lower priorities
... at which point they'll declare OOM and kill the high-pri task?
Please have a look at the cgroup2 memory.low control. This memory
prioritization problem has already been solved.
Powered by blists - more mailing lists