Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp365673ybk; Wed, 20 May 2020 01:28:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoEgLeGthQL8SCk85sW+5CXuOsgHMltZgWnxL4FwXr7ZozwaszO+mYruYCuQ7iXf9A8jjj X-Received: by 2002:a05:6402:1447:: with SMTP id d7mr2457456edx.367.1589963326245; Wed, 20 May 2020 01:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589963326; cv=none; d=google.com; s=arc-20160816; b=KzktZ0A6BuUhHzEPakixIVI9SGSTVxeVRHxcsZ2m7eqC0RN4jVf7b7zRMMDQ6j8whQ aPCkhNusU11NCFnvMzTi71wrBLdxm3qf4MyR9dgoc/EHAlnoo738gcBdlj/OOpai/7VB YoJJafRp+xpORAJX6Jeb2bBINOtnWIipH98QmP3Vzt6srbgUGFqo2HS2iB2M8pyKPFtr Em0MFzGsdb5WbAIx+9S2QNSsqRtJWrg7twxEj2sVVGVVFwvKkScgfc9w9w6gaWZhqAhy nslN6pNTVGODPRPnjf1upv4HOjaQhrWgHhKWhJYDaPk2h1Ixj7Dv5ZwdcLKImt2NdBrK 8r7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=oz66q4UAEVR/PNvzqC0no71qGvbWiyB846KaBJkHgtU=; b=YehY5lD5pRj/D5OApLA/0CFjwTsH6UPX2agF58c3E9OnBYs85qcLMACaVleKOs0gd+ kjJBXs9qNPYBLewwWpx0+MAJuInTuN29dATXaj/AZeg4zTRafZJ3s6By1OM+U73gKq7V +41faPfgYnTxSNHomJ+6wWIrPdendLhcFUUAz4e+uAbKRm6ZFbjkDohlJ4Nj0nvDssng sNCqrs8pduCm2gvmeGHTbaMQ2u+9VARahvFJeRyxTntpD9Jefgh3YiJPMkGeKBiDhVWp 6AgQuu3oH6FktFAKAnViMqCsK2oYyHFfgzqexmjKvPY1pwH+bh7cgyiTEhS2jSc7vjpG H3tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=rKm9ZjaW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w25si982228edl.165.2020.05.20.01.28.23; Wed, 20 May 2020 01:28:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=rKm9ZjaW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726851AbgETIXx (ORCPT + 99 others); Wed, 20 May 2020 04:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726452AbgETIXw (ORCPT ); Wed, 20 May 2020 04:23:52 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9437AC061A0E for ; Wed, 20 May 2020 01:23:51 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id q2so2549816ljm.10 for ; Wed, 20 May 2020 01:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oz66q4UAEVR/PNvzqC0no71qGvbWiyB846KaBJkHgtU=; b=rKm9ZjaWIE2hC9QPpUPBTVRGKDDl5BqESk3XO+jd/cNexMh0EKlQf1Amp4dFqTXNhj Pb24R7m1bkaYrPy3tmojnvsEL6rflyOKl1O9FzhVuj78mEKk6hcwDi2Ry9sSihXaTjpd H3KRwWxDFs75o3Z4sg7Ol9e8dhEqMFy5w90wI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oz66q4UAEVR/PNvzqC0no71qGvbWiyB846KaBJkHgtU=; b=LAPqdSzLvDyHxphyuLMYEy/QzW0bvoCCaGSPI5A965ZI9ym7CpHnoN95py46HjtBwh 7nFeQFedD/OpKVOThMMw2DBmc6Vtg8x2AnyjXouV+k9Lmp7MtRwv3KKQZhtSewIyHQMx nhLCKbSdsktxmDE/+FinFQOGXKU8V9X9mYcbzmi8UrqO5BXtH+YVPt8u0CrZbChW1Do/ M2bQAWJDHlOAxRR8Ob06WvJwj6FocrxKPJhQQ1+Zf3JOIfPo+GjZ4ZE5w4Twxw3T7X6N vR/74I6t2ayTPNoGqFSBboOvzgNkXmCNvMW/ONuP6jUwg6b6BZwK4awEfb/eQf1qUe9V DzuQ== X-Gm-Message-State: AOAM533urCWjR5KPKJM2KDBNmOoYBp7ryOCK7nZrYHi/XZEcxsNFF5bk KD2uxo5UbNsudYWBWJMhAtHgEu0MCziuliPVD6xCGA== X-Received: by 2002:a2e:92cb:: with SMTP id k11mr2142631ljh.96.1589963029135; Wed, 20 May 2020 01:23:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vitaly Wool Date: Wed, 20 May 2020 10:23:38 +0200 Message-ID: Subject: Re: zswap z3fold + memory offline = infinite loop To: Qian Cai Cc: Michal Hocko , David Hildenbrand , Linux-MM , LKML , Minchan Kim , Seth Jennings , Dan Streetman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 19, 2020 at 5:50 AM Qian Cai wrote: > > > > > Removing that check in ->isolate() is not a big deal, but ->migratepage() shall not allow actual migration anyway if there are mapped objects. > > Is that worse than an endless loop here? Well, let's figure if there really has to be an endless loop. Would you mind retesting with https://marc.info/?l=linux-mm&m=158996286816704&w=2? Best regards, Vitaly