Messages in this thread | | | Date | Mon, 30 Jun 2008 13:41:19 +0530 | From | Balbir Singh <> | Subject | Re: [RFC 5/5] Memory controller soft limit reclaim on contention |
| |
KOSAKI Motohiro wrote: > yes, memcg used only one page. > but mem_cgroup_reclaim_on_contention() reclaim for generic alloc_pages(), instead for memcg. > we can't assume memcg usage. > isn't it?
Yes, but the reclaim is from memcg pages (memcg groups that are over their soft limit). I am not sure if I understand your point? If your claim is that we don't free up pages of at-least order (as desired by __alloc_pages_internal()), that is correct. We can ensure that we do a pass over memcg and generic zone LRU.
-- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL
| |