Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalization from oom_badness()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Rientjes
Date: Wednesday, August 25, 2010 - 5:52 pm

On Thu, 26 Aug 2010, KAMEZAWA Hiroyuki wrote:


You'll want to look at section 3.1 of Documentation/filesystems/proc.txt, 
which describes /proc/pid/oom_score_adj, not 3.2.


I'd hesitate to state the formula outside of the implementation and 
instead focus on the semantics of oom_score_adj (as a proportion of 
available memory compared to other tasks), which I tried doing in section 
3.1.  Then, the userspace tool only need be concerned about the units of 
oom_score_adj rather than whether rss, swap, or later extentions such as 
shm are added.

Thanks for working on this, Kame!
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizatio ..., KAMEZAWA Hiroyuki, (Wed Aug 25, 5:39 pm)
Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizatio ..., David Rientjes, (Wed Aug 25, 5:52 pm)
Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizatio ..., KAMEZAWA Hiroyuki, (Wed Aug 25, 6:03 pm)
Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizatio ..., KAMEZAWA Hiroyuki, (Wed Aug 25, 6:11 pm)
Re: [PATCH 1/2][BUGFIX] oom: remove totalpage normalizatio ..., KAMEZAWA Hiroyuki, (Wed Aug 25, 8:20 pm)