On 08/17/2012 12:54 AM, Ying Han wrote: > This patch makes target reclaim shrinks slabs in addition to userpages. > > Slab shrinkers determine the amount of pressure to put on slabs based on how > many pages are on lru (inversely proportional relationship). Calculate the > lru_pages correctly based on memcg lru lists instead of global lru lists. > > Signed-off-by: Ying Han <yinghan@xxxxxxxxxx> This seems fine from where I stand. So imagining for an instant we apply this patch, and this patch only. The behavior we get is that when memcg gets pressure, it will shrink globally, but it will at least shrink anything. It is needless to say this is not enough. But I wonder if this isn't better than no shrinking at all ? Maybe this could be put ontop of the slab series and be the temporary default while we sort out the whole shrinkers problem? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>