Re: [PATCH] zsmalloc: keep first object offset in struct page

2016-06-13 Thread Sergey Senozhatsky
On (06/13/16 12:37), Minchan Kim wrote: > > Please fold it to zsmalloc: page migration support. I like the change and the removal of get_first_obj_offset(). thanks. -ss

Re: [PATCH] zsmalloc: keep first object offset in struct page

2016-06-12 Thread Minchan Kim
Andrew, Please fold it to zsmalloc: page migration support. Thanks. On Mon, Jun 13, 2016 at 12:20:15PM +0900, Minchan Kim wrote: > In early draft of zspage migration, we couldn't use page._mapcount > because it was used for storing movable flag so we added runtime > calculation to get first obje

[PATCH] zsmalloc: keep first object offset in struct page

2016-06-12 Thread Minchan Kim
In early draft of zspage migration, we couldn't use page._mapcount because it was used for storing movable flag so we added runtime calculation to get first object offset in a page but it causes rather many instruction and even bug. Since then, we don't use page._mapcount as page flag any more so