Re: [PATCH 2/2] memcg : share event counter rather than duplicate v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 15 Feb 2010 09:19:06 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:

> > >  /**
> > > @@ -1760,6 +1768,11 @@ static int mem_cgroup_move_account(struc
> > >  		ret = 0;
> > >  	}
> > >  	unlock_page_cgroup(pc);
> > > +	/*
> > > +	 * check events
> > > +	 */
> > > +	memcg_check_events(to, pc->page);
> > > +	memcg_check_events(from, pc->page);
> > >  	return ret;
> > >  }
> > >  
> > Strictly speaking, "if (!ret)" would be needed(it's not a big deal, though).
> > 
> Hmm. ok. I'll check.

I'll assume that your checking resulted in happiness with the existing
patch ;)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]