On 05/12/2011 02:47 PM, Ying Han wrote:
TODO: a) there was a question on how to do zone balancing w/o global LRU. This could be solved by building another cgroup list per-zone, where we also link cgroups under their soft_limit. We won't scan the list unless the first list being exhausted and the free pages is still under the high_wmark.
b). one of the tricky part is to calculate the target nr_to_scan for each cgroup, especially combining the current heuristics with soft_limit exceeds. it depends how much weight we need to put on the second. One way is to make the ratio to be user configurable.
Johannes addresses these in his patch series.
Ying Han (4): Disable "organizing cgroups over soft limit in a RB-Tree" Organize memcgs over soft limit in round-robin. Implementation of soft_limit reclaim in round-robin. Add some debugging stats
Looks like you also have some things Johannes doesn't have. It may be good for the two patch series you have to get merged into one series, before stuff gets merged upstream. -- All rights reversed -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>