[PATCH v3 4/6] android: binder: Add global lru shrinker to binder

2017-08-29 Thread Sherry Yang
Hold on to the pages allocated and mapped for transaction buffers until the system is under memory pressure. When that happens, use linux shrinker to free pages. Without using shrinker, patch "android: binder: Move buffer out of area shared with user space" will cause a significant slow down for

[PATCH v3 4/6] android: binder: Add global lru shrinker to binder

2017-08-29 Thread Sherry Yang
Hold on to the pages allocated and mapped for transaction buffers until the system is under memory pressure. When that happens, use linux shrinker to free pages. Without using shrinker, patch "android: binder: Move buffer out of area shared with user space" will cause a significant slow down for