Re: [RFC] oom-kill: give the dying task a higher priority

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 3 Jun 2010, Peter Zijlstra wrote:

> > And that can reduce the runtime of the thread holding a writelock on 
> > mm->mmap_sem, making the exit actually take longer than without the patch 
> > if its priority is significantly higher, especially on smaller machines. 
> 
> /me smells an inversion... on -rt we solved those ;-)
> 

Right, but I don't see how increasing an oom killed tasks priority to a 
divine priority doesn't impact the priorities of other tasks which may be 
blocking the exit of that task, namely a coredumper or holder of 
mm->mmap_sem.  This patch also doesn't address how it negatively impacts 
the priorities of jobs running in different cpusets (although sharing the 
same cpus) because one cpuset is oom.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]