Re: [PATCH] vmscan: memcg needs may_swap (Re: [patch] vmscan: rename sc.may_swap to may_unmap)

From: KOSAKI Motohiro
Date: Mon Mar 30 2009 - 21:48:49 EST


> > Sorry for too late response.
> > I don't know memcg well.
> >
> > The memcg managed to use may_swap well with global page reclaim until now.
> > I think that was because may_swap can represent both meaning.
> > Do we need each variables really ?
> >
> > How about using union variable ?
>
> or Just removing one of them ?

I hope all may_unmap user convert to using may_swap.
may_swap is more efficient and cleaner meaning.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/