On Fri, Apr 20, 2012 at 7:17 AM, Rik van Riel <riel@xxxxxxxxxx> wrote: > On 04/20/2012 04:21 AM, KAMEZAWA Hiroyuki wrote: > >> If you need smart victim selection under hierarchy, please implement >> victim scheduler which choose A2 rather than A and A1. I think you >> can do it. > > > Ying and I spent a few hours working out exactly how to do > this, a few weeks ago in San Francisco. > > She might still have the pictures of all the stuff we drew > on the whiteboard. Unfortunately, I do have that on my phone. See the attachment if those who might be interested. Rik, Johannes and myself were discussing how to make the soft_limit reclaim being smart on picking memcg, the same logic we currently use to do get_scan_count() between file/anon lru. After the ground work in this patch is done, I do plan to make that happen. But for now, I like to focus on the ground work as starting point. --Ying > > -- > All rights reversed
Attachment:
soft_limit.JPG
Description: JPEG image