Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1004858lqs; Fri, 14 Jun 2024 11:42:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUb4edyQ2Zn9OhlgjnPPG39AbcmrebVE1Z46z2TIfVgVDQ2wdUctOL4mOzj1Kiz7Pd9G7BZ/0F8mO8yXRsHnQ/k36zEV4qSbmpURgx2RQ== X-Google-Smtp-Source: AGHT+IFpUoHi+SYAeK930TkM5rTtzn+qbUV/4Qn1UDRNphc7Wq1LHa/n36RahfoWRRuVPYl9ohPG X-Received: by 2002:a17:906:ca0d:b0:a6f:fbc:b3f3 with SMTP id a640c23a62f3a-a6f60dc89cbmr226349466b.47.1718390563515; Fri, 14 Jun 2024 11:42:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718390563; cv=pass; d=google.com; s=arc-20160816; b=dlhp2e1ZootaXF26OumngnJCmLonSxaypLOSMtxdK/fadmdX1LnzyJlTwjmF/rpEv7 nPHzaaNoAcAoU17cjo21onR+E/K/eA3uNvzVhRUcAixQX57i5MXYax1wWmD4cEOjGyzx N7/gG+7K3DL7pVMf4BZ47ZmnCI2gTRH+aIkN9d9jWnyRjOMKJdmuPw+GSMd1L7PxBJ9H C5s7uiEJIl5EiD5WmaCX0mVJGT7AhHNzbLDRdY9A4o/iJawoxCKHw+yj3Pcevo1p/Jb9 KzqEtAXVRUFkxRtryfb6aKSrqcpKa+q3H8Vv+ts3XxAJrrOtZaA59fXEoHXmz7Il6gaN 2eiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=a/UxaEVcroxG1QVJdfP5cPNh0XmseYFuN6DDvYS1rDU=; fh=omfBZofDZ/VqUWzm08LJNCXCpFFJu83/FGuVtE5nrRQ=; b=uoma3VAS7Sycvj6JHU/OOAjfvUxz4I0NiZXsE4t2tnak2zOanuiYxsZky8kFN4E0gD gZE2dk8puLwLscrj1ZhAIiPjOzpedFaZRgkpcvlbfDyH+pg3wo3L0+y6Bh4oAfUf9wYw x3WVgcLij3HVXRdIXKWtBrpRa1VPAv2wDFTa/qY7Qiury97bf4tsC8rM4sg6i05cQ07u ZoAVM9hVlcKpS4FH83ER9KmSu0L2KZz05PREb04p2bDVEFADJl0pfoY9WRm0WPY0ZD5B AcY1In+uZ6XHoX1bCMHyrirjiFGsAmYh2lfjb2JqW7vSgNesagSUFRkzNtPGXe4vjVyZ JKFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4lu+ZzzM; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-215419-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215419-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f56e7d391si195191266b.942.2024.06.14.11.42.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 11:42:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215419-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4lu+ZzzM; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-215419-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215419-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3A7211F21960 for ; Fri, 14 Jun 2024 18:42:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22DE319EED2; Fri, 14 Jun 2024 18:42:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="4lu+ZzzM" Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBDD71474B1 for ; Fri, 14 Jun 2024 18:42:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718390555; cv=none; b=ZnwmlNFYrSsrUwYhdKJxN9d1PNLqCS7FxVQkH/WJ/lKqu6Iy+D59hHbd3/sM2KAlwaXTsHtiLN65hFs/3eJ7Tgq8+AgRoxoLCP3LKINWUOqaVK1SJEqmmh+cvSK7C8bLZ8J86KyIf2H362J2eCfxafn+dfsbrvM+hDkU4sTcHBg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718390555; c=relaxed/simple; bh=a/UxaEVcroxG1QVJdfP5cPNh0XmseYFuN6DDvYS1rDU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=KusamyBJ3LzPeNwdcHqt80wGa2Gf/8HleM60e18wwmNLogPiaOg5D25N5L+4LGxlowOzgEJTQB8BAz7Qr5A1iABKbEBvh5dDxqfjV1G65Eu3stbwO2L6bqsg3VVSBDgryIphTdpod7dkQ9TRgrpFmmg8xjRLHdI1ki7fEp7d/pw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=4lu+ZzzM; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a63359aaaa6so378079566b.2 for ; Fri, 14 Jun 2024 11:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1718390552; x=1718995352; 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=a/UxaEVcroxG1QVJdfP5cPNh0XmseYFuN6DDvYS1rDU=; b=4lu+ZzzMD/JPufdS7iXYX/k9KyOOZHGERk7jZSNvF6z/RLM/o2JMtRSWYxxp0KA5WO eHNacCw9UsOMeE7/8YMTD4S+2coGuSJA7Zn2JXv2jOv0Kfx+xzys8cE8r9ufFJopZTzZ wir5tgtYOJ0dyuFY1QR+ZgAEZUjJUKbq1ShlOA8YLzaEH8n+15vVhBUT3lMxmeDnjndb vapyAIRJ1lE4znLERuj+RxHe8nXeZMxZBPp9BDkRe8vjmuaaNGfgDOHYgGQxt360B2Qk KAnFqe5Ial0lTLx8SMBZybiG8CUTVsfPAG/3SnFljZeSmZzaXQkBIPkQATmRMOUmtF4J nDVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718390552; x=1718995352; 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=a/UxaEVcroxG1QVJdfP5cPNh0XmseYFuN6DDvYS1rDU=; b=BC1eIuD1qY9g26EvmAPUN0df+/Ia4/MYrpCbWDpy3qDbtjhM9wzsqc7dvpSEnRW2mN pW1wQBKKYRBZJcJhage/I9rpoim83avwpwhK0Icb8PrYJEvWILzycyCaGvKEll+Ver3m G5LXxjc9P6Q8yAp18qfo8MlFBJ2caRy+Q+e1oTPWSCfAH60OZVfphT0tr1CglReeA7Tb eGEc2zWvarD5scK9Kf+GLPsZ9f25bjCyFNSViKCfxthGw22JNp2RxFw0CQT5y7KeWCD+ QNzJkfG2wfyduK/lqUcONr1y49A5qPzf4fdcmg/5FZbdYWQ/xi2g7G/qZunKottIZ6F2 PMNw== X-Forwarded-Encrypted: i=1; AJvYcCXhky9FyNKzayplBVg3CiK4ER5ysreauvIYMwwCnWSA7JrVB8UumfigJRXPqP9fBOaL+y1yPxoXqElm097ns7Sd7iBbVIKw12EbGQCZ X-Gm-Message-State: AOJu0YxhTM8Z3IJCUHUkCBpk1r/qLpI2usi1XRuoOQk3t5OOux8WVkX9 ajIWz31p4/IqfDvN+2H2wLP+gHeE5bmVtNm1QWvsoL/PG0UwcJkG5HYYweE5FHidZQR5MKBzwhH Un5hvcBVS/2Iy1VmIhuiyR1MAJo9ljTAl1dp5 X-Received: by 2002:a17:906:cb99:b0:a6e:fd41:6315 with SMTP id a640c23a62f3a-a6f60de6421mr220583466b.69.1718390551624; Fri, 14 Jun 2024 11:42:31 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240614100902.3469724-1-usamaarif642@gmail.com> <20240614100902.3469724-3-usamaarif642@gmail.com> In-Reply-To: <20240614100902.3469724-3-usamaarif642@gmail.com> From: Yosry Ahmed Date: Fri, 14 Jun 2024 11:41:55 -0700 Message-ID: Subject: Re: [PATCH v5 2/2] mm: remove code to handle same filled pages To: Usama Arif Cc: akpm@linux-foundation.org, hannes@cmpxchg.org, shakeel.butt@linux.dev, david@redhat.com, ying.huang@intel.com, hughd@google.com, willy@infradead.org, nphamcs@gmail.com, chengming.zhou@linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@meta.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jun 14, 2024 at 3:09=E2=80=AFAM Usama Arif = wrote: > > With an earlier commit to handle zero-filled pages in swap directly, > and with only 1% of the same-filled pages being non-zero, zswap no > longer needs to handle same-filled pages and can just work on compressed > pages. > > Signed-off-by: Usama Arif Acked-by: Yosry Ahmed