Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp527990rdb; Thu, 30 Nov 2023 10:55:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IHgK0GBcFCVmRW85u0WfzjJ3N4Qi/jh4xgMCho9nmO6fa6q5VBu42YkkFrB+CJ2efK7Yq2X X-Received: by 2002:a05:6a00:e17:b0:6c3:5ffb:b63e with SMTP id bq23-20020a056a000e1700b006c35ffbb63emr22067534pfb.33.1701370523017; Thu, 30 Nov 2023 10:55:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701370523; cv=none; d=google.com; s=arc-20160816; b=yrqo96e9I5EvysRIfqFgWF6fBkmQDl1/hiZdYYXIRPXf9r2k9ab5etyDOeUaaeyWmD oopYjWBktagv8sWId5di5SiGciznwodQreHek3N7OiRS2Ohu4wht1nfYa27USdsRambv mw8IKj6MwPtgUtwdOuQ4wWX1VTZGDigIRNRoCurn0+XLlMPH0EMx5KYDW0Nu9yoz7uDd Ja3oNCQJtFdqFPVT7G6Dt2XGxHvfQEjURPZLLbQHmwx7GTw7D50L/dmUM4gGF4jv0Isj UGbydan8IyymTkcapb/WZB4WGlQJ9WK+tvn68E6lAdTPoXA14Z8CkQUn6y9ik8afx7PG rqzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=s/rDmWF02NwdqFljTBq3ivE1VLtPxbvFoYCxoKr5tkk=; fh=QHkMnFz7rVt/oozs1qENleohb1ZC0SfNuNcDIhRwous=; b=Ln5/nKwgvSOWHHcqvStE+JM1dGCzmPdH8dSzEhietPoyEuJHQNkDUYVPzBUISU5vlR 6o24XVHMW3kumuPqoA2HV3heZi3nt472IOUxqDcwvbk8CWnxNzMUx2ohc9Eu/iy/uE8+ XVT8XGnGg3hjLPEu68u2Qm9ndIcJhHD6YuCBFqS9z2e3zyTgY4uO41JAoxkcFZycluHT M9rSUJAMvjHZUdjprWrHf28Pgk3LrZBr07UsJOypnlYDpJJE+KeR97RRtnd2bsQwyZA9 H2CZgWG8hbX7sbeVNc5tfpB76TRRtbLP9QEHmjuxhacWG7tHR7vgNKwhJdi8897JPlOw s/Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ukYJ7ZXL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id h10-20020a056a00218a00b006cb64902ef3si1823875pfi.153.2023.11.30.10.55.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 10:55:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ukYJ7ZXL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 472138078613; Thu, 30 Nov 2023 10:55:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232273AbjK3Syq (ORCPT + 99 others); Thu, 30 Nov 2023 13:54:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229782AbjK3Syp (ORCPT ); Thu, 30 Nov 2023 13:54:45 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA0DB10DE; Thu, 30 Nov 2023 10:54:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=s/rDmWF02NwdqFljTBq3ivE1VLtPxbvFoYCxoKr5tkk=; b=ukYJ7ZXLRLKnuiGqLgilzy+W6R J6os9aQXTRF0Vkv+edCTTWm5PJiCesLMbij3enDPOgowYgu3oPrBD6U+/BLR+yL7cQNSBjcie3CYp t1nohxPqBpGF56aJHV0k+1PIS4cPo3zwgHt/a8yr0cw7ZuewHhRsktSubwqdvEn/stnQ0caSzyz8J q1YGmTctbZKEQckicOZJcgdcQRei25Nw2pP9HIzhvC9HKR5WQ7tF1r/j00lbYg1EahALVx7MI4gDv BcHtZ4b4flc+pDgCn66Ct+AvMbBIBxuKg1453al9BhaG8b68IfQJe66H7c+WrwbL+dl8rNBEOe62N /gmlHOVg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1r8mBJ-00Ekuv-Db; Thu, 30 Nov 2023 18:54:37 +0000 Date: Thu, 30 Nov 2023 18:54:37 +0000 From: Matthew Wilcox To: Shakeel Butt Cc: Dan Schatzberg , Johannes Weiner , Roman Gushchin , Yosry Ahmed , Huan Yang , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-mm@kvack.org, Michal Hocko , Muchun Song , Andrew Morton , David Hildenbrand , Huang Ying , Kefeng Wang , Peter Xu , "Vishal Moola (Oracle)" , Yue Zhao , Hugh Dickins Subject: Re: [PATCH 0/1] Add swappiness argument to memory.reclaim Message-ID: References: <20231130153658.527556-1-schatzberg.dan@gmail.com> <20231130184424.7sbez2ukaylerhy6@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231130184424.7sbez2ukaylerhy6@google.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Thu, 30 Nov 2023 10:55:01 -0800 (PST) On Thu, Nov 30, 2023 at 06:44:24PM +0000, Shakeel Butt wrote: > On Thu, Nov 30, 2023 at 07:36:53AM -0800, Dan Schatzberg wrote: > > * Swapout should be limited to manage SSD write endurance. In near-OOM > > Is this about swapout to SSD only? If you're using spinning rust with its limit of, what, 200 seeks per second, I'd suggest that swapout should also be limited but for different reasons. We can set you up with a laptop with insufficient RAM and a 5400rpm drive if you'd like to be convinced ...