Re: [PATCH 2/4] (CMA_AGGRESSIVE) Add argument hibernation to function shrink_all_memory

2014-10-17 Thread 朱辉
On 10/16/14 16:29, Rafael J. Wysocki wrote: > [CC list trimmed] > > On Thursday, October 16, 2014 11:35:49 AM Hui Zhu wrote: >> Function shrink_all_memory try to free `nr_to_reclaim' of memory. >> CMA_AGGRESSIVE_SHRINK function will call this functon to free >> `nr_to_reclaim' of >> memory. It

Re: [PATCH 2/4] (CMA_AGGRESSIVE) Add argument hibernation to function shrink_all_memory

2014-10-17 Thread 朱辉
On 10/16/14 16:29, Rafael J. Wysocki wrote: [CC list trimmed] On Thursday, October 16, 2014 11:35:49 AM Hui Zhu wrote: Function shrink_all_memory try to free `nr_to_reclaim' of memory. CMA_AGGRESSIVE_SHRINK function will call this functon to free `nr_to_reclaim' of memory. It need

Re: [PATCH 2/4] (CMA_AGGRESSIVE) Add argument hibernation to function shrink_all_memory

2014-10-16 Thread Rafael J. Wysocki
[CC list trimmed] On Thursday, October 16, 2014 11:35:49 AM Hui Zhu wrote: > Function shrink_all_memory try to free `nr_to_reclaim' of memory. > CMA_AGGRESSIVE_SHRINK function will call this functon to free `nr_to_reclaim' > of > memory. It need different scan_control with current caller

Re: [PATCH 2/4] (CMA_AGGRESSIVE) Add argument hibernation to function shrink_all_memory

2014-10-16 Thread Rafael J. Wysocki
[CC list trimmed] On Thursday, October 16, 2014 11:35:49 AM Hui Zhu wrote: Function shrink_all_memory try to free `nr_to_reclaim' of memory. CMA_AGGRESSIVE_SHRINK function will call this functon to free `nr_to_reclaim' of memory. It need different scan_control with current caller function

[PATCH 2/4] (CMA_AGGRESSIVE) Add argument hibernation to function shrink_all_memory

2014-10-15 Thread Hui Zhu
Function shrink_all_memory try to free `nr_to_reclaim' of memory. CMA_AGGRESSIVE_SHRINK function will call this functon to free `nr_to_reclaim' of memory. It need different scan_control with current caller function hibernate_preallocate_memory. If hibernation is true, the caller is

[PATCH 2/4] (CMA_AGGRESSIVE) Add argument hibernation to function shrink_all_memory

2014-10-15 Thread Hui Zhu
Function shrink_all_memory try to free `nr_to_reclaim' of memory. CMA_AGGRESSIVE_SHRINK function will call this functon to free `nr_to_reclaim' of memory. It need different scan_control with current caller function hibernate_preallocate_memory. If hibernation is true, the caller is