Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp658217lqh; Thu, 28 Mar 2024 12:11:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUn9+m5TYIcUhiphVYAtHyfpBeeds+wTgwdCp/NeTm0c9aTmEvLInfVEhEm41ztHiC3exN1zeBc+KAQ+DyYRqAfgGlqZTB7of5Qld+/eQ== X-Google-Smtp-Source: AGHT+IGX+68xjuuW9iUqW5bQAo4pAPeU1DlpyWxxV/TV4vFHtes+P9p+WXqc6gjxwkU0Q7Ld0nc2 X-Received: by 2002:a05:6830:a45:b0:6e6:b124:c150 with SMTP id g5-20020a0568300a4500b006e6b124c150mr120903otu.19.1711653080989; Thu, 28 Mar 2024 12:11:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711653080; cv=pass; d=google.com; s=arc-20160816; b=A7MECnkHNrbVmBwcT+r4ZtD+1aGwYuhPQzJ95Yj+kpYl2kIgP9nTZI/IojUC+YJFCK 7WtPlOumQErDSy1nc/6wO2/13TX7LXf34i5aFZ+HfN2ibhHp1LhHCjf922iPGqS3aLIH Pl/yfFTS7P4aA7N6Mt/x/gV22eHOUsIRx8XMfMjk9ioPiU7S+EDl8rGBo6Du1B/LmC84 aKGRjCmg4V1wIy9oJSrDh24NCfSqSZ8X8KqT0APcw6MVGqb4AjUx3l/CrsQR75Ku9pWx 8n9PtkopG4/GRO3eV5qMEa0Karcx7ukgJokeyyuUs3sY8MHo/SHBpHiSLD4HQtZTQNDH TnMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QYi3n+1dup0vmKpcwHd1ByrK/mila8jNJvnF9Ro8+/Y=; fh=IFOLqO7+YNjbUixqRI9U2oI7nCF1OrN/NJSc8zKjKMM=; b=FFVWFBfpfYbbC0sYvOhQZc6+To9y4Q6Vux7S69+xFcwjmMpYmETeOREHEs5uNIIu6l yxcWttgz9YMXnl4h6LlvkwfNT/MGpfOWO4a5/7Zc59Sdm9JX1EAaGAKXJrkBbYV3KfUe 0X+kTwVsOZa3t8FlyO+sU/kyPqBfGDiHf8ihsIGNuUF+bp4dCYDdxGk1/ZaRv65+pZ6F LNX1Eim9+QLTF6wgRDxbMYXpBj35TclNUrMRis7Cumi1QQKFrePqR7MUKwX6cv44qq3+ hMZjt7zhcapwRTQETTif8wd+yUWcDvdOYZ2gmEz+caoAkrdK+yB7gkf6N23IrzUbxEoa ON+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cmpxchg-org.20230601.gappssmtp.com header.s=20230601 header.b=3d5thlKH; arc=pass (i=1 spf=pass spfdomain=cmpxchg.org dkim=pass dkdomain=cmpxchg-org.20230601.gappssmtp.com dmarc=pass fromdomain=cmpxchg.org); spf=pass (google.com: domain of linux-kernel+bounces-123452-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123452-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z16-20020a05620a08d000b0078bc201504csi1165384qkz.774.2024.03.28.12.11.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 12:11:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123452-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=@cmpxchg-org.20230601.gappssmtp.com header.s=20230601 header.b=3d5thlKH; arc=pass (i=1 spf=pass spfdomain=cmpxchg.org dkim=pass dkdomain=cmpxchg-org.20230601.gappssmtp.com dmarc=pass fromdomain=cmpxchg.org); spf=pass (google.com: domain of linux-kernel+bounces-123452-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123452-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.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 950891C2B3B9 for ; Thu, 28 Mar 2024 19:11:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A205137920; Thu, 28 Mar 2024 19:11:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cmpxchg-org.20230601.gappssmtp.com header.i=@cmpxchg-org.20230601.gappssmtp.com header.b="3d5thlKH" Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (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 645823BBC7 for ; Thu, 28 Mar 2024 19:11:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711653073; cv=none; b=Jn9IQVriFFRu78mkkMpKdEYl2VZjBkwRQWx1n8rh8s3bAp2ds96wXzqdGbVhJcry+qSwkkZr83XjnmPE0q8OiNlYSl1CO0VNMZh6/Ti67nc+ORshKBuV839V9ZCEmAoW5dtOgJYgLOW8BngExX+VPW1JrbvWGZ84fSK0DNA33VA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711653073; c=relaxed/simple; bh=OlsGVc24cRFBwsqfAO8+K1ji9SM4JgJWySnIA4va+bU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GNfHzhP4+1WNTbPNSzZGJC4iIm07KJ/6vJU1f+de6TuwXAd2WM0+IZmqJlQOKvb/Qbumy8zVaBzXumoE2Z4lLwOdxx0VSn6z0gctf4PeVG6eiCnVU4rnKk9Ht8itfO/fJahvdcTmXuCccGtq5vjx711xPmzBrz5vDMCEXjHcxos= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmpxchg.org; spf=pass smtp.mailfrom=cmpxchg.org; dkim=pass (2048-bit key) header.d=cmpxchg-org.20230601.gappssmtp.com header.i=@cmpxchg-org.20230601.gappssmtp.com header.b=3d5thlKH; arc=none smtp.client-ip=209.85.167.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmpxchg.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmpxchg.org Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-3c3ac720bceso818367b6e.3 for ; Thu, 28 Mar 2024 12:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20230601.gappssmtp.com; s=20230601; t=1711653070; x=1712257870; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QYi3n+1dup0vmKpcwHd1ByrK/mila8jNJvnF9Ro8+/Y=; b=3d5thlKHtBx6SIdywu1adWsPEaq9KS7KR8jz0YuXkaCSzlPebuO141lC9MUP/Z0eUt vSQ1TmhwmV/9rm7qPpNnSEVW2dxj884cfyRgOFftCvrMDuFLNal2VRTKvNnQQwiwJzDX 2AotnlO0e1c2iCm2GP2NlPEKNN1Q21Agx2xbMJPC3qB/gwrq2lN2qABWTqRdR7qbed2v LRrI/uVlRJooD8UTyVjRgJJNBiYUWqH+Cvl8oiYeAYcVCHnsViXj04Sfe3XZTJMnX8Dd uEvxbrctvS52X6PYtlr55H/RziChe3O2TTFTaCbmqB4DtA7gfcSJRNvkKyxYHx+pMjfA Pmkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711653070; x=1712257870; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QYi3n+1dup0vmKpcwHd1ByrK/mila8jNJvnF9Ro8+/Y=; b=E36QMy6//zwqmteDWtxE0h8IVXv2wKN16eqVrmiplu0mx+jrLsskLSy9g8OGSBN4DU dSD97BfufryFNPga5MCB8eQsl/0WiKQ9oqrJrcRoeWVZfqhnGpJH7WDLY82z9KpkJZo0 IwyMK7VurrXzOUh954mH6AtdFwG+Kwc1kyE698dvZe0oCp5kIzOJlkU4j64FBFaG09gG rtrg+xoILdPTx6r6zKpkLiaia+13y5c+xARZyP/Sj8cWl35zQBebF+rb/3cyou+yYSZz AqUm3cDMUTKsuK4xxxbkqiVbHbrQJEV89Z0wVlo/q9QcjTrPg1Y8FxcCuAHMDAkjJLcL W/HA== X-Forwarded-Encrypted: i=1; AJvYcCXcs1NuY96jkqOMclp+OSFbxYlPCGSqYKH/gnIejwZxDhXJnmL2tovdgLw4/qQOuUPwNTKCwbB+1sn7Y0hZObav9UlCNLa6oPWt8jDk X-Gm-Message-State: AOJu0YxerHlbbYnj6dJSW07UT/4kX01sY94arg0PBgVfhhNmSHAARYOu 4OX+YKjWddjYwRmsr3bCVNW2vmMcIpn9bMckpr7eI7LqbPRN4kmz+n9C962RGZU= X-Received: by 2002:a05:6808:4498:b0:3c3:cd7a:af8 with SMTP id eq24-20020a056808449800b003c3cd7a0af8mr234178oib.35.1711653070517; Thu, 28 Mar 2024 12:11:10 -0700 (PDT) Received: from localhost ([2620:10d:c091:400::5:bb1f]) by smtp.gmail.com with ESMTPSA id eq16-20020a05622a5e1000b004316bafd1afsm869909qtb.3.2024.03.28.12.11.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 12:11:09 -0700 (PDT) Date: Thu, 28 Mar 2024 15:11:09 -0400 From: Johannes Weiner To: Yosry Ahmed Cc: Andrew Morton , Nhat Pham , Chengming Zhou , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 5/9] mm: zswap: remove zswap_same_filled_pages_enabled Message-ID: <20240328191109.GE7597@cmpxchg.org> References: <20240325235018.2028408-1-yosryahmed@google.com> <20240325235018.2028408-6-yosryahmed@google.com> 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-Disposition: inline In-Reply-To: <20240325235018.2028408-6-yosryahmed@google.com> On Mon, Mar 25, 2024 at 11:50:13PM +0000, Yosry Ahmed wrote: > There is no logical reason to refuse storing same-filled pages more > efficiently and opt for compression. Remove the userspace knob. > > Signed-off-by: Yosry Ahmed Acked-by: Johannes Weiner I also think the non_same_filled_pages_enabled option should go away. Both of these tunables are pretty bizarre.