Messages in this thread | | | Date | Mon, 28 Oct 2019 11:56:17 -0400 | From | Johannes Weiner <> | 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.
| |