From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by kanga.kvack.org (Postfix) with ESMTP id B37066B0038 for ; Fri, 10 Jul 2015 01:46:25 -0400 (EDT) Received: by pactm7 with SMTP id tm7so162681821pac.2 for ; Thu, 09 Jul 2015 22:46:25 -0700 (PDT) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com. [2607:f8b0:400e:c03::22a]) by mx.google.com with ESMTPS id rp5si12815898pab.52.2015.07.09.22.46.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 22:46:25 -0700 (PDT) Received: by pacws9 with SMTP id ws9so164163647pac.0 for ; Thu, 09 Jul 2015 22:46:24 -0700 (PDT) Date: Fri, 10 Jul 2015 14:46:54 +0900 From: Sergey Senozhatsky Subject: Re: [PATCH v2] zsmalloc: consider ZS_ALMOST_FULL as migrate source Message-ID: <20150710054654.GE692@swordfish> References: <1436506319-12885-1-git-send-email-minchan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436506319-12885-1-git-send-email-minchan@kernel.org> Sender: owner-linux-mm@kvack.org List-ID: To: Minchan Kim Cc: Andrew Morton , Sergey Senozhatsky , Nitin Gupta , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Minchan Kim On (07/10/15 14:31), Minchan Kim wrote: > There is no reason to prevent select ZS_ALMOST_FULL as migration > source if we cannot find source from ZS_ALMOST_EMPTY. > > With this patch, zs_can_compact will return more exact result. > > * From v1 > * remove unnecessary found variable - Sergey > > Signed-off-by: Minchan Kim > Acked-by: Sergey Senozhatsky -ss -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org