Re: [PATCH 4/8][for -mm] mem_notify v6: memory_pressure_notify() caller

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <andi@...>
Cc: <kosaki.motohiro@...>, Andrew Morton <akpm@...>, <linux-mm@...>, <linux-kernel@...>, <marcelo@...>, <daniel.spang@...>, <riel@...>, <alan@...>, <linux-fsdevel@...>, <pavel@...>, <a1426z@...>, <jonathan@...>, <zlynx@...>
Date: Wednesday, February 13, 2008 - 8:25 pm

Hi Andi,


you are right.
good point out.

current implementation may cause wake up the no relate process of
memory shortage zone ;-)

but unfortunately, we can't know per zone rss.
(/proc/[pid]/numa_maps is very slow, we can't use it
 at memory shortage emergency)

I think we need develop per zone rss.
it become not only improve mem_notify, but also improve
oom killer of more intelligent process choice.

but it is a bit difficult. (at least for me ;-)
may be, I will implement it a bit later...


Thanks again!
your good opnion may improve my patch.


- kosaki


-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 4/8][for -mm] mem_notify v6: memory_pressure_noti..., KOSAKI Motohiro, (Wed Feb 13, 8:25 pm)