Android OOM (AOOM) is a different thing. Briefly Android OOM is a safety belt, but I try to introduce look-ahead radar to stop before hitting wall.
You explained why we shouldn't merge neither you nor android notification patches. Many embedded developers tried to merge their own patch and claimed "Hey! my patch is completely different from another one". That said, their patches can't be used each other use case, just for them. Systemwide global notification itself is not bad idea. But we definitely choose just one implementation. thus, you need to get agree with other embedded people. Again, lowmemorykiller.c should be dropped too.
UsedMemory = (MemTotal - MemFree - Buffers - Cached - SwapCached) + (SwapTotal - SwapFree)
If you spent a few time to read past discuttion, you should have understand your fomula is broken and unacceptable. Think, mlocked (or pinning by other way) cache can't be discarded. And, When system is under swap thrashing, userland notification is useless. I don't think you tested w/ swap environment heavily. While you are getting stuck to make nokia specific feature, I'm recommending you maintain your local patch yourself. -- 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>