Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp544611rdb; Thu, 19 Oct 2023 11:31:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFk7jdlHkb82Sm/9CAaIdbEgWxjz5ny4gE1xMNpdSQnP1uv/5OwMUST8rf4viVGaiK0+5pN X-Received: by 2002:a05:6358:7e16:b0:166:d1a1:7738 with SMTP id o22-20020a0563587e1600b00166d1a17738mr3388363rwm.0.1697740300314; Thu, 19 Oct 2023 11:31:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697740300; cv=none; d=google.com; s=arc-20160816; b=p8ZWHUE3FD7YL5wvr0Z3Zmo8NbuqbIP98i3C07pqs6uP8erc91ZSmnckeRHTSsQubN T69SOG2MC28KMlQlidfSw1s42YMz0kEghZ2uFL7V1JFIw5XP1+FYFUStMqztx0jrD+PU qYVEiGgMIUaKQxdt3jxUVMDLOIZ3lR4DkbR22Oj6VmljDjsDCFdRoG+hNydBuZh7xi31 reYItM1nSZip7YMxMM/Eg6KQtoGhwKcDWbxrnSXMGKk329SC7JlxwPmjDMqTcrji4S84 LXjMxJALocHb8kFf13/F0ynExwlCoZKwWgCKYO3EQ+TpcUUrjpU7IEvR1ZL7j4utwMQ/ eINw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FATldl0l8mttX55l07QCYkeMIDaJdk8BK4gw4WswyLw=; fh=5YshITQ1141OHbSClq23DbBgoGg4jpKfmkb7HXcw6rA=; b=PSeqNAwNarMDcpGFzfnUA5THQgDdyPZcE5XNDyaHkmhZQltQ8H0sA5j6T2lo2xyJbk VIAIzOnRy4I7BdVkgC03C1hVlsigfjPDtVo69VLmbIW6xFh6x4BrFTDlxhWkqFTh2A0X xhYEMgR3w1XROAuk64eypzFUay8IyhRsslb411zPk7FxAZPQ8Uglj3jiLmNCogVpoF0b 1kvuPbIyabMd7wp4KGdKuGxptzzgF7XMbwyN7XA1cEAzbaBa6yLYyOfAu3MdwO7kQW2G bpWXQFwEsVRy+qqScO0GEW4JJevsd43atR3yd+9fJj4Pj/l21HBLRQgP2iZtFKr/DoHq 9MOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LY7h3J+T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id m33-20020a635821000000b005b74df10f2esi149064pgb.356.2023.10.19.11.31.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 11:31:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LY7h3J+T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id EABC2805B2E3; Thu, 19 Oct 2023 11:31:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235518AbjJSSbc (ORCPT + 99 others); Thu, 19 Oct 2023 14:31:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233250AbjJSSba (ORCPT ); Thu, 19 Oct 2023 14:31:30 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 495E5121; Thu, 19 Oct 2023 11:31:29 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-77acb04309dso408039f.2; Thu, 19 Oct 2023 11:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697740288; x=1698345088; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FATldl0l8mttX55l07QCYkeMIDaJdk8BK4gw4WswyLw=; b=LY7h3J+TDQrPR+IyNuqABCvXgoKBQiy0GtqXZsuVV4xJyx8LDUoA0HS/X5kQtzXw0c 4/2ulEChySeWqCxq/LcNjzzWZVZVR6jZVATTlS9xNf2c1JXEq0PNKFalkrDvoCz03KGt uDXjUGcms4O0vwBUbT03T0qGnBn+UWmoV8g8Tvo/pI0RDHoTwLwnVcUf+Cz5ytqQNYoE hHrICEWBf5B/PwgXvzEJ/wIQKlIec6zhD0Y352ca8HwbADa1yZdkIQwvtRiO0+ChFSRN O8PaJIym4pDZ93pZoC576fnAuAyP/VY39ALKDo9r5vDTr2y42mvLfG9dxM79t14Knnxo odSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697740288; x=1698345088; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FATldl0l8mttX55l07QCYkeMIDaJdk8BK4gw4WswyLw=; b=KFELtXmQVKY9aMD+8mEPsAux0M90iQ8f3VFaPUG47skhlc7NeWWCEXKN1LCzV16NZ8 O+0BvLYbqwIUySyKutMeRCjuHBg/frkUKVgR6YR7iRTl4aSk7BURmW1DCFWBOZnoKij6 wukd5gib0M1EaUa05HNjd9kJEKzf+1rGt/7gaa0yo/Ln2f2OWNrcryugK2DHvWRaE3BD HZztHVxqoyTaS6D5DwZQCjTh5z5E89dv8CZIlbCvNrcFimfH+MWF8JH+x/TL+vm8S/wS Dgo1r5Xyp0YnStzhqrMyniKAL6OrU4yBlN5oUz9SlVlQDEoJ7lHw0FH6QnbNIJCqr74R yHUA== X-Gm-Message-State: AOJu0YzsWv+0dg86f4LX/fbSIYiMRRPGSNGXff7vxX747GZos1886u7J n0Xy41QSm/JFZtBFoByQbAgMvBHSwpAnEUHfncU44gAnt3s= X-Received: by 2002:a05:6602:3f94:b0:79a:b53c:d758 with SMTP id fb20-20020a0566023f9400b0079ab53cd758mr3507073iob.1.1697740288418; Thu, 19 Oct 2023 11:31:28 -0700 (PDT) MIME-Version: 1.0 References: <20231017232152.2605440-1-nphamcs@gmail.com> <20231019101204.179a9a1d2c7a05b604dad182@linux-foundation.org> In-Reply-To: From: Nhat Pham Date: Thu, 19 Oct 2023 11:31:17 -0700 Message-ID: Subject: Re: [PATCH v3 0/5] workload-specific and memory pressure-driven zswap writeback To: Yosry Ahmed Cc: Andrew Morton , hannes@cmpxchg.org, cerasuolodomenico@gmail.com, sjenning@redhat.com, ddstreet@ieee.org, vitaly.wool@konsulko.com, mhocko@kernel.org, roman.gushchin@linux.dev, shakeelb@google.com, muchun.song@linux.dev, linux-mm@kvack.org, kernel-team@meta.com, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, shuah@kernel.org, Hugh Dickins Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 19 Oct 2023 11:31:38 -0700 (PDT) On Thu, Oct 19, 2023 at 10:34=E2=80=AFAM Yosry Ahmed wrote: > > On Thu, Oct 19, 2023 at 10:12=E2=80=AFAM Andrew Morton > wrote: > > > > On Tue, 17 Oct 2023 16:21:47 -0700 Nhat Pham wrote: > > > > > Subject: [PATCH v3 0/5] workload-specific and memory pressure-driven = zswap writeback > > > > We're at -rc6 and I'd prefer to drop this series from mm.git, have > > another go during the next cycle. > > > > However Hugh's v2 series "mempolicy: cleanups leading to NUMA mpol > > without vma" has syntactic dependencies on this series and will need > > rework, so I'd like to make that decision soon. > > > > Do we feel that this series can be made into a mergeable state within > > the next few days? > > There are parts of the code that I would feel more comfortable if > someone took a look at (which I mentioned in individual patches). So > unless this happens in the next few days I wouldn't say so. > I'm not super familiar with the other series. How big is the dependency? Looks like it's just a small part in the swapcache code right? If this is the case, I feel like the best course of action is to rebase the mempolicy patch series on top of mm-unstable, and resolve this merge conflict. I will then send out v4 of the zswap shrinker, rebased on top of the mempolicy patch series. If this is not the case, one thing we can do is: a) Fix bugs (there's one kernel test robot it seems) b) Fix user-visible details (writeback counter for e.g) and just merge the series for now. FWIW, this is an optional feature and disabled by default. So performance optimization and aesthetics change (list_lru_add() renaming etc.) can wait. We can push out v4 by the end of today and early tomorrow if all goes well. Then everyone can review and comment on it. How does everyone feel about this strategy? > > > > Thanks.