[PATCH] staging: android: ion: Use low_order_gfp_flags for smaller allocations

2019-02-14 Thread Jing Xia via dri-devel
gfp_flags is always set high_order_gfp_flags even if allocations of order 0 are made.But for smaller allocations, the system should be able to reclaim some memory. Signed-off-by: Jing Xia Reviewed-by: Yuming Han Reviewed-by: Zhaoyang Huang Reviewed-by: Orson Zhai --- drivers/staging/android/i

Re: [PATCH] staging: android: ion: Use low_order_gfp_flags for smaller allocations

2019-02-14 Thread jing xia via dri-devel
Thanks. On Thu, Feb 14, 2019 at 2:27 AM Laura Abbott wrote: > > On 2/11/19 11:09 PM, Jing Xia wrote: > > gfp_flags is always set high_order_gfp_flags even if allocations of > > order 0 are made.But for smaller allocations, the system should be able > > to reclaim some memory. > > > > Signed-off-b

Re: [PATCH] staging: android: ion: Use low_order_gfp_flags for smaller allocations

2019-02-13 Thread Laura Abbott via dri-devel
On 2/11/19 11:09 PM, Jing Xia wrote: gfp_flags is always set high_order_gfp_flags even if allocations of order 0 are made.But for smaller allocations, the system should be able to reclaim some memory. Signed-off-by: Jing Xia Reviewed-by: Yuming Han Reviewed-by: Zhaoyang Huang Reviewed-by: Ors