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

2008-02-13 Thread KOSAKI Motohiro
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

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

2008-02-13 Thread Andi Kleen
KOSAKI Motohiro <[EMAIL PROTECTED]> writes: > > 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. -Andi -- To unsubscribe from this list:

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

2008-02-13 Thread Andi Kleen
KOSAKI Motohiro [EMAIL PROTECTED] writes: 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. -Andi -- To unsubscribe from this list: send

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

2008-02-13 Thread KOSAKI Motohiro
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

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

2008-02-12 Thread KOSAKI Motohiro
Hi Andrew > > and, It is judged out of trouble at the fllowing situations. > > o memory pressure decrease and stop moves an anonymous page to the > > inactive list. > > o free pages increase than (pages_high+lowmem_reserve)*2. > > This seems rather arbitrary. Why choose this stage in the page

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

2008-02-12 Thread Andrew Morton
On Sun, 10 Feb 2008 00:24:28 +0900 "KOSAKI Motohiro" <[EMAIL PROTECTED]> wrote: > the notification point to happen whenever the VM moves an > anonymous page to the inactive list - this is a pretty good indication > that there are unused anonymous pages present which will be very likely > swapped

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

2008-02-12 Thread Andrew Morton
On Sun, 10 Feb 2008 00:24:28 +0900 KOSAKI Motohiro [EMAIL PROTECTED] wrote: the notification point to happen whenever the VM moves an anonymous page to the inactive list - this is a pretty good indication that there are unused anonymous pages present which will be very likely swapped out

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

2008-02-12 Thread KOSAKI Motohiro
Hi Andrew and, It is judged out of trouble at the fllowing situations. o memory pressure decrease and stop moves an anonymous page to the inactive list. o free pages increase than (pages_high+lowmem_reserve)*2. This seems rather arbitrary. Why choose this stage in the page

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

2008-02-09 Thread KOSAKI Motohiro
the notification point to happen whenever the VM moves an anonymous page to the inactive list - this is a pretty good indication that there are unused anonymous pages present which will be very likely swapped out soon. and, It is judged out of trouble at the fllowing situations. o memory

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

2008-02-09 Thread KOSAKI Motohiro
the notification point to happen whenever the VM moves an anonymous page to the inactive list - this is a pretty good indication that there are unused anonymous pages present which will be very likely swapped out soon. and, It is judged out of trouble at the fllowing situations. o memory