On Sun 14-04-13 08:04:55, Michal Hocko wrote: > On Sun 14-04-13 10:55:32, Johannes Weiner wrote: > > However, that parent is not necessarily the root of the hierarchy that > > is being reclaimed and you might have multiple of such sub-hierarchies > > in excess. To handle all the corner cases, I'd expect the > > relationship checking to get really complicated. > > We could always return the leftmost and get to others as the iteration > continues. I will try to think about it some more. I do not think we > would save a lot but it looks like a neat idea. Hmm, scratch that. Leftmost doesn't make much sense as we are going bottom up... -- Michal Hocko SUSE Labs -- 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>