From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752123AbbCZA1M (ORCPT ); Wed, 25 Mar 2015 20:27:12 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:35707 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751347AbbCZA1J (ORCPT ); Wed, 25 Mar 2015 20:27:09 -0400 Date: Thu, 26 Mar 2015 09:27:17 +0900 From: Sergey Senozhatsky To: minchan@kernel.org Cc: akpm@linux-foundation.org, sergey.senozhatsky@gmail.com, ngupta@vflare.org, sfr@canb.auug.org.au, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [withdrawn] zsmalloc-remove-extra-cond_resched-in-__zs_compact.patch removed from -mm tree Message-ID: <20150326002717.GA1669@swordfish> References: <5513199f.t25SPuX5ULuM6JS8%akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5513199f.t25SPuX5ULuM6JS8%akpm@linux-foundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (03/25/15 13:25), akpm@linux-foundation.org wrote: > The patch titled > Subject: zsmalloc: remove extra cond_resched() in __zs_compact > has been removed from the -mm tree. Its filename was > zsmalloc-remove-extra-cond_resched-in-__zs_compact.patch > > This patch was dropped because it was withdrawn > > ------------------------------------------------------ > From: Sergey Senozhatsky > Subject: zsmalloc: remove extra cond_resched() in __zs_compact > > Do not perform cond_resched() before the busy compaction loop in > __zs_compact(), because this loop does it when needed. > > Signed-off-by: Sergey Senozhatsky > Cc: Minchan Kim > Cc: Nitin Gupta > Cc: Stephen Rothwell > Signed-off-by: Andrew Morton > --- > > mm/zsmalloc.c | 2 -- > 1 file changed, 2 deletions(-) > > diff -puN mm/zsmalloc.c~zsmalloc-remove-extra-cond_resched-in-__zs_compact mm/zsmalloc.c > --- a/mm/zsmalloc.c~zsmalloc-remove-extra-cond_resched-in-__zs_compact > +++ a/mm/zsmalloc.c > @@ -1717,8 +1717,6 @@ static unsigned long __zs_compact(struct > struct page *dst_page = NULL; > unsigned long nr_total_migrated = 0; > > - cond_resched(); > - > spin_lock(&class->lock); > while ((src_page = isolate_source_page(class))) { > Hello, Minchan, did I miss your NACK on this patch? or could you please ACK it? -ss