Re: [PATCH v1 13/19] zsmalloc: factor page chain functionality out

2016-03-11 Thread xuyiping
On 2016/3/11 15:30, Minchan Kim wrote: For migration, we need to create sub-page chain of zspage dynamically so this patch factors it out from alloc_zspage. As a minor refactoring, it makes OBJ_ALLOCATED_TAG assign more clear in obj_malloc(it could be another patch but it's trivial so I want

Re: [PATCH v1 13/19] zsmalloc: factor page chain functionality out

2016-03-11 Thread xuyiping
On 2016/3/11 15:30, Minchan Kim wrote: For migration, we need to create sub-page chain of zspage dynamically so this patch factors it out from alloc_zspage. As a minor refactoring, it makes OBJ_ALLOCATED_TAG assign more clear in obj_malloc(it could be another patch but it's trivial so I want

Re: [PATCH v1 09/19] zsmalloc: keep max_object in size_class

2016-03-11 Thread xuyiping
On 2016/3/11 15:30, Minchan Kim wrote: Every zspage in a size_class has same number of max objects so we could move it to a size_class. Signed-off-by: Minchan Kim --- mm/zsmalloc.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-)

Re: [PATCH v1 09/19] zsmalloc: keep max_object in size_class

2016-03-11 Thread xuyiping
On 2016/3/11 15:30, Minchan Kim wrote: Every zspage in a size_class has same number of max objects so we could move it to a size_class. Signed-off-by: Minchan Kim --- mm/zsmalloc.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git

Re: [PATCH] zsmalloc: drop unused member 'mapping_area->huge'

2016-02-16 Thread xuyiping
HI, Sergery On 2016/2/17 10:26, Sergey Senozhatsky wrote: Hello, On (02/17/16 09:56), YiPing Xu wrote: static int create_handle_cache(struct zs_pool *pool) @@ -1127,11 +1126,9 @@ static void __zs_unmap_object(struct mapping_area *area, goto out; buf = area->vm_buf;

Re: [PATCH] zsmalloc: drop unused member 'mapping_area->huge'

2016-02-16 Thread xuyiping
HI, Sergery On 2016/2/17 10:26, Sergey Senozhatsky wrote: Hello, On (02/17/16 09:56), YiPing Xu wrote: static int create_handle_cache(struct zs_pool *pool) @@ -1127,11 +1126,9 @@ static void __zs_unmap_object(struct mapping_area *area, goto out; buf = area->vm_buf;

Re: [PATCH 2/3] staging: android: ion: Add ion driver for Hi6220 SoC platform

2015-10-09 Thread xuyiping
On 2015/10/8 15:55, Chen Feng wrote: Signed-off-by: Chen Feng Signed-off-by: Yu Dongbin --- drivers/staging/android/ion/Kconfig| 7 + drivers/staging/android/ion/Makefile | 1 + drivers/staging/android/ion/hisilicon/Kconfig | 5 +

Re: [PATCH 2/3] staging: android: ion: Add ion driver for Hi6220 SoC platform

2015-10-09 Thread xuyiping
On 2015/10/8 15:55, Chen Feng wrote: Signed-off-by: Chen Feng Signed-off-by: Yu Dongbin --- drivers/staging/android/ion/Kconfig| 7 + drivers/staging/android/ion/Makefile | 1 +

Re: [PATCH V3 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-15 Thread xuyiping
On 2015/9/15 11:58, Chen Feng wrote: Add reset driver for hi6220-hikey board,this driver supply deassert of IP. on hi6220 SoC. Signed-off-by: Chen Feng --- drivers/reset/Kconfig | 1 + drivers/reset/Makefile | 1 + drivers/reset/hisilicon/Kconfig

Re: [PATCH V3 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-15 Thread xuyiping
On 2015/9/15 11:58, Chen Feng wrote: Add reset driver for hi6220-hikey board,this driver supply deassert of IP. on hi6220 SoC. Signed-off-by: Chen Feng --- drivers/reset/Kconfig | 1 + drivers/reset/Makefile | 1 +

Re: [PATCH V2 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-12 Thread xuyiping
On 2015/9/11 16:18, Chen Feng wrote: Add reset driver for hi6220-hikey board,this driver supply deassert of IP. on hi6220 SoC. Signed-off-by: Chen Feng --- drivers/reset/Kconfig | 1 + drivers/reset/Makefile | 1 + drivers/reset/hisilicon/Kconfig

Re: [PATCH V2 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-12 Thread xuyiping
On 2015/9/11 16:18, Chen Feng wrote: Add reset driver for hi6220-hikey board,this driver supply deassert of IP. on hi6220 SoC. Signed-off-by: Chen Feng --- drivers/reset/Kconfig | 1 + drivers/reset/Makefile | 1 +