Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp821853rdb; Sun, 18 Feb 2024 13:45:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWedOturFFMHRKn+6ay0WVnX2jxjDOWGjY7oWuXrIwXlMSGUV3aSdLBfYQ4Ag8ftnY3QK00BuNX6nUKo6TF+aya5kKY4ZQXevRU4yBI+g== X-Google-Smtp-Source: AGHT+IHNtZbfjw5TkIPv5+j8Pe+pyYimK8x+1SIRucsvRYJUbkPrnFghrJD4uT5ApEWq0mAQjC4T X-Received: by 2002:ac8:5845:0:b0:42e:4d4:8f6d with SMTP id h5-20020ac85845000000b0042e04d48f6dmr3536755qth.68.1708292743113; Sun, 18 Feb 2024 13:45:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708292743; cv=pass; d=google.com; s=arc-20160816; b=SoRF/pSM7qRRml9dM007w42Ps2m4RMnz2f4kVfFBpE7PM4Fxp5kE8B0VgVuR53jx1T tTCTxhdo/Htnzq6ghYIs4oy1w8Hoe/nf4OTZHq4gjlSWay1unohNSHzEXLzpXxKipgJJ H2S5Rkgei18TI9zAGft9O2SlZehkMS7cUNXt6oq/ys1h0T/XYQGLyXp9mkietaLdrmsa 4CYHtdO3a3jGGSI96RTwP5hiGkCg92Od+X1Q1TsZfmDK1M7mlTz+PIxDER6OmoqEDl1p u6ChO118Ov+U9aBUXUdXDXfhGi+ly6w+6pjdI9PXMh+yGmknMOhDmppX7UnGZeqXQR+v 2soA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=ES7XbA6v978Hj7tQoFXsIHoL1ljvqFgWyMbxulyyaog=; fh=EeGEoLEmknOD4IzlWknbKTFWlNlWYuzO9TXTTb3ulZw=; b=boAEY1k+5+jvAtZJyFCu0SizxeLNFAeDdKM3XbgNK8io5NycC9tEf4PgILMINapMU1 AsgFQD1jlGLPwraw2qTJRDUHTvK35g51ZPq63zVJeoAzQf8AqRhfCqsQ13nfwGoOs5Sd YvLgfb87IxiMafiYfdiNog1dnxKUC6LVFRb7s8IqNZxcQ1mA6cIg3CNKiJBHXr4dQbJ3 BhR+CSSSgpOKTDfHsc3Rg2fG6xL+UmYbhzfWr5eFn/WQN4o7mWPEOwTYLUmsu+DCf/WU r+9yufloLv/RTywqv/iNvbq5xTnxVQtoqLZH+Scmt0fkaWX1UbaAtsn17BXwzi2vWJur nw9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=zKNM5G5Y; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-70594-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70594-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d22-20020ac86696000000b0042de588bc95si3865914qtp.562.2024.02.18.13.45.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 13:45:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70594-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=zKNM5G5Y; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-70594-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70594-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C844B1C20C36 for ; Sun, 18 Feb 2024 21:45:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5AF3374297; Sun, 18 Feb 2024 21:45:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="zKNM5G5Y" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89D8BEAD7 for ; Sun, 18 Feb 2024 21:45:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708292735; cv=none; b=jk4F3B0/Bcimbre1xiljGDIaTsl4nhaAhvpeOTWQvssJkGSjLGLPD0onsAMiZThTCUy0kthXry3A/lGL7TBQwqRFXZfC8ChhPeY10XXomvVtRXospFBDhMZ3HzJkxz6arTndHPn18OOCsMDpBDyRQ3OhKmq1wlgUyxlWE498Bss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708292735; c=relaxed/simple; bh=l95OYFV0oWrXm6XhHujtK/Iz/W76B054ieH/C9GE0GU=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=RIWXmsbyOpeOuHvvQ3dQMFapciOVHrm8RU79scD4kMkeCr/SISjcfWEcWm/zZIiynhSa5Wed1ezCvOXlRyxWI7n9+RxoJQR7ZEay4MiIb8+CwzV67mLuvf43CwU1Wx79pLEiHz9JBGOai3c//+Jsa8V7EMKLkDXuR95O17CPlQM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=zKNM5G5Y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8B4CC433F1; Sun, 18 Feb 2024 21:45:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1708292735; bh=l95OYFV0oWrXm6XhHujtK/Iz/W76B054ieH/C9GE0GU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=zKNM5G5YwF1ogU++a7VUsSysSaZVgQbYutxxrkHXOIncI5iCLrgZvzFj7qMRvcKJp 9m/Qe0vD+3vYOX6eh4GDtMnhrhtWO8UX1pkyLeQp/AC88cwZvB5ekS86ad/hNqMXk0 wXUwIWkCK6tACHeD0rtEsnsfTgRdRZsVepri6kUg= Date: Sun, 18 Feb 2024 13:45:34 -0800 From: Andrew Morton To: Yosry Ahmed Cc: Barry Song <21cnbao@gmail.com>, hannes@cmpxchg.org, linux-mm@kvack.org, nphamcs@gmail.com, zhouchengming@bytedance.com, senozhatsky@chromium.org, linux-kernel@vger.kernel.org, Barry Song Subject: Re: [PATCH v2] mm: zswap: increase reject_compress_poor but not reject_compress_fail if compression returns ENOSPC Message-Id: <20240218134534.15a7b1cc7f297a2ecf4b8bc9@linux-foundation.org> In-Reply-To: References: <20240217053642.79558-1-21cnbao@gmail.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 17 Feb 2024 15:14:34 -0800 Yosry Ahmed wrote: > > > > > > > > The patch LGTM, but it won't apply on top of mm-unstable given the > > > amount of zswap refactoring there. I would rebase on top of mm-unstable > > > if I were you (and if you did, add mm-unstable in the subject prefix). > > > > This patch has a "fixes" tag, so I assume it should be also in 6.8? > > Hmm that's up to Andrew. This fixes debug counters so it's not > critical. On the other hand, it will conflict with the cleanup series > in his tree and he'll have to rebase and fix the conflicts (which > aren't a lot, but could still be annoying). Personally I think this > can wait till v6.9, but if Andrew doesn't have a problem taking it for > v6.8 that's fine too. Yes, there are some pretty extensive repairs needed after this change. I'd prefer not to because lazy, and there are risks involved. So against mm-unstable would be preferred please.