From mboxrd@z Thu Jan 1 00:00:00 1970 From: bill4carson@gmail.com (bill4carson) Date: Mon, 05 Dec 2011 11:24:37 +0800 Subject: Query about Enhanced Out-Of-Memory handling Message-ID: <4EDC3975.8090300@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi, all Since there is a practical needs for user application with the ability to sense kernel memory use pressure, http://elinux.org/Memory_Management gives some approach on this as below: OOM notification in cgroups mem_notify patches Google cgroup OOM handler Nokia OOM enhancements AFAIK, it seems none of these have been merged into mainline or updated continuously, I'm not so familiar with mm system, so may I ask which known approach is best to work with mainline kernel now? -- I am a slow learner but I will keep trying to fight for my dreams! --bill