The patch titled Subject: mm/zsmalloc.c: remove useless line in obj_free() has been added to the -mm tree. Its filename is zsmalloc-remove-unless-line-in-obj_free.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/zsmalloc-remove-unless-line-in-obj_free.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/zsmalloc-remove-unless-line-in-obj_free.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Hui Zhu <zhuhui@xxxxxxxxxx> Subject: mm/zsmalloc.c: remove useless line in obj_free() Signed-off-by: Hui Zhu <zhuhui@xxxxxxxxxx> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> Cc: Minchan Kim <minchan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/zsmalloc.c | 3 --- 1 file changed, 3 deletions(-) diff -puN mm/zsmalloc.c~zsmalloc-remove-unless-line-in-obj_free mm/zsmalloc.c --- a/mm/zsmalloc.c~zsmalloc-remove-unless-line-in-obj_free +++ a/mm/zsmalloc.c @@ -1429,8 +1429,6 @@ static void obj_free(struct zs_pool *poo struct page *first_page, *f_page; unsigned long f_objidx, f_offset; void *vaddr; - int class_idx; - enum fullness_group fullness; BUG_ON(!obj); @@ -1438,7 +1436,6 @@ static void obj_free(struct zs_pool *poo obj_to_location(obj, &f_page, &f_objidx); first_page = get_first_page(f_page); - get_zspage_mapping(first_page, &class_idx, &fullness); f_offset = obj_idx_to_offset(f_page, f_objidx, class->size); vaddr = kmap_atomic(f_page); _ Patches currently in -mm which might be from zhuhui@xxxxxxxxxx are zsmalloc-add-comments-for-inuse-to-zspage.patch zsmalloc-fix-obj_to_head-use-page_privatepage-as-value-but-not-pointer.patch zsmalloc-remove-unless-line-in-obj_free.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html