Re: [PATCH v3 09/16] zsmalloc: move struct zs_meta from mapping to freelist

2016-04-17 Thread Sergey Senozhatsky
Hello, On (03/30/16 16:12), Minchan Kim wrote: > For supporting migration from VM, we need to have address_space > on every page so zsmalloc shouldn't use page->mapping. So, > this patch moves zs_meta from mapping to freelist. > > Signed-off-by: Minchan Kim a small get_zspage_meta() helper woul

[PATCH v3 09/16] zsmalloc: move struct zs_meta from mapping to freelist

2016-03-30 Thread Minchan Kim
For supporting migration from VM, we need to have address_space on every page so zsmalloc shouldn't use page->mapping. So, this patch moves zs_meta from mapping to freelist. Signed-off-by: Minchan Kim --- mm/zsmalloc.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-