On 01/17/2012 09:38 AM, Colin Walters wrote:
How does this relate to the existing cgroups memory notifications? See Documentation/cgroups/memory.txt under "10. OOM Control"
As far as the desktop goes, I want to get notified if we're going to hit swap, not if we're close to exhausting the total of RAM+swap. While swap may make sense for servers that care about throughput mainly, I care a lot about latency.
You just answered your own question :) This code is indeed meant to avoid/reduce swap use and improve userspace latencies. Minchan posted a very simple example patch set, so we can get an idea in what direction people would want the code to go. This often beats working on complex code for weeks, and then having people tell you they wanted something else :) -- 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>