Messages in this thread |  | | | Date | Thu, 14 Feb 2008 09:25:26 +0900 | | From | KOSAKI Motohiro <> | | Subject | Re: [PATCH 4/8][for -mm] mem_notify v6: memory_pressure_notify() caller | |
Hi Andi,
> > to be honest, I don't think at mem-cgroup until now.
>
> There is not only mem-cgroup BTW, but also NUMA node restrictons from
> NUMA memory policy. So this means a process might not be able to access
> all memory.
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
|  |