Re: [PATCHv3 1/2] staging: ion: shrink page-pool by page unit

2015-07-02 Thread Laura Abbott
On 07/01/2015 04:02 AM, Gioh Kim wrote: This patch shrink page-pool by page unit. The system shrinker calls ion_heap_shrink_count() to get nr_to_scan, and pass it to ion_heap_shrink_scan(). The problem is the return value of ion_heap_shrink_count() is the number of pages but

[PATCHv3 1/2] staging: ion: shrink page-pool by page unit

2015-07-01 Thread Gioh Kim
This patch shrink page-pool by page unit. The system shrinker calls ion_heap_shrink_count() to get nr_to_scan, and pass it to ion_heap_shrink_scan(). The problem is the return value of ion_heap_shrink_count() is the number of pages but ion_system_heap_shrink(), which is called by