Re: [PATCH] driver : staging : ion: optimization for decreasing memory fragmentaion

2019-03-19 Thread Zhaoyang Huang
On Wed, Mar 20, 2019 at 9:10 AM David Rientjes wrote: > > On Thu, 14 Mar 2019, Zhaoyang Huang wrote: > > > From: Zhaoyang Huang > > > > Two action for this patch: > > 1. set a batch size for system heap's shrinker, which can have it buffer > > reasonable page blocks in pool for future allocation.

Re: [PATCH] driver : staging : ion: optimization for decreasing memory fragmentaion

2019-03-19 Thread David Rientjes
On Thu, 14 Mar 2019, Zhaoyang Huang wrote: > From: Zhaoyang Huang > > Two action for this patch: > 1. set a batch size for system heap's shrinker, which can have it buffer > reasonable page blocks in pool for future allocation. > 2. reverse the order sequence when free page blocks, the purpose i

[PATCH] driver : staging : ion: optimization for decreasing memory fragmentaion

2019-03-14 Thread Zhaoyang Huang
From: Zhaoyang Huang Two action for this patch: 1. set a batch size for system heap's shrinker, which can have it buffer reasonable page blocks in pool for future allocation. 2. reverse the order sequence when free page blocks, the purpose is also to have system heap keep as more big blocks as it