On 05/01/2012 12:18 PM, Ying Han wrote:
The current logic seems perfer to reclaim more than going oom kill, and that might not fit all user's expectation. However, I guess it is hard to convince for any changes since different users has different bias as you said....
However, it is a sure thing that desktop users and smartphone users do want an earlier OOM kill. I wonder if doing an OOM kill when the number of free pages plus the number of file lru pages in every zone is below pages_high and there is no more swap available might work? On the other hand, that still leaves us cgroups. What could be appropriate there? -- 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>