Re: [PATCH] mm: remove zone->prev_prioriy

KOSAKI Motohiro
2009-02-10T10:50:54Z

> On Tue, Feb 10, 2009 at 06:42:30PM +0900, KOSAKI Motohiro wrote:
> >
> > KAMEZAWA Hiroyuki sugessted to remove zone->prev_priority.
> > it's because Split-LRU VM doesn't use this parameter at all.
> >
> >
> > Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
> > Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> > ---
> > include/linux/memcontrol.h | 27 -------------------------
> > include/linux/mmzone.h | 15 --------------
> > mm/memcontrol.c | 31 -----------------------------
> > mm/page_alloc.c | 2 -
> > mm/vmscan.c | 48 ++-------------------------------------------
> > mm/vmstat.c | 2 -
> > 6 files changed, 3 insertions(+), 122 deletions(-)
>
> > Index: b/include/linux/memcontrol.h
> > ===================================================================
> > --- a/include/linux/memcontrol.h
> > +++ b/include/linux/memcontrol.h
> > @@ -88,14 +88,7 @@ extern void mem_cgroup_end_migration(str
> > /*
> > * For memory reclaim.
> > */
> > -extern int mem_cgroup_calc_mapped_ratio(struct mem_cgroup *mem);
>
> This bit crept in from the next patch, I think.

Grr.
I'll fix this soon.

Thanks for carefully reviewing!