On 12/29/2011 11:59 AM, Mel Gorman wrote:
I considered a few ways of fixing this. The obvious one is to add a new page flag but that is difficult to justify as the high-cpu-usage problem should only occur when there is a lot of writeback to slow storage which I believe is a rare case. It is not a suitable use for an extended page flag.
Actually, don't we already have three LRU related bits in the page flags? We could stop using those as bit flags, and use them as a number instead. That way we could encode up to 7 or 8 (depending on how we use all-zeroes) LRU lists with the number of bits we have now. -- All rights reversed -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>