Re: [PATCHv3 2/2] staging: ion: debugfs to shrink pool

2015-07-02 Thread Laura Abbott
On 07/01/2015 04:02 AM, Gioh Kim wrote: This patch enables debugfs file /sys/kernel/debug/ion/heaps/system_shrink Nit: This technically enables debugfs shrinking for all heaps, not just the system heap although the system heap is the only one with a shrinker right now. to shrink pool and get

[PATCHv3 2/2] staging: ion: debugfs to shrink pool

2015-07-01 Thread Gioh Kim
This patch enables debugfs file /sys/kernel/debug/ion/heaps/system_shrink to shrink pool and get pool size. It is already implemented but not complete. This patch completes and enables it. Reading the file returns pool size in page unit and writing the number of pages shrinks pool. It flushes all