From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFBD2C433EF for ; Mon, 7 Mar 2022 14:41:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6EE638D0002; Mon, 7 Mar 2022 09:41:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 69D5E8D0001; Mon, 7 Mar 2022 09:41:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5400D8D0002; Mon, 7 Mar 2022 09:41:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0194.hostedemail.com [216.40.44.194]) by kanga.kvack.org (Postfix) with ESMTP id 44B618D0001 for ; Mon, 7 Mar 2022 09:41:48 -0500 (EST) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id DC6B0A5BD5 for ; Mon, 7 Mar 2022 14:41:47 +0000 (UTC) X-FDA: 79217854254.18.CF7894A Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf03.hostedemail.com (Postfix) with ESMTP id 554302000E for ; Mon, 7 Mar 2022 14:41:47 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id B84A7210F2; Mon, 7 Mar 2022 14:41:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1646664105; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HMVVp/hKRAkt1bohVOFA35fWXAkKQksWaMpazBeOccQ=; b=mqyhAjr8CUaUVZKhQQYpXbCn7BT6kPpXwoNmLqEQvcKJFLSqGP2O8vrYYVdMX2nO2sD876 Ml/XU614EwNdT+e075B1zof3rh0k9E3jIehpBqQRHGq8eiAJ5AJGoGWyR7HZXcIxcSn/dK sGH9bPRGYW1U8hnMAiCwMd2WuHbE31E= Received: from suse.cz (unknown [10.100.201.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 86642A3B84; Mon, 7 Mar 2022 14:41:45 +0000 (UTC) Date: Mon, 7 Mar 2022 15:41:45 +0100 From: Michal Hocko To: David Rientjes Cc: Andrew Morton , Johannes Weiner , Yu Zhao , Dave Hansen , linux-mm@kvack.org, Yosry Ahmed , Wei Xu , Shakeel Butt , Greg Thelen Subject: Re: [RFC] Mechanism to induce memory reclaim Message-ID: References: <5df21376-7dd1-bf81-8414-32a73cea45dd@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5df21376-7dd1-bf81-8414-32a73cea45dd@google.com> X-Rspamd-Queue-Id: 554302000E X-Stat-Signature: k65b19pbhxgms4p4u7dw4c3t6h5bm8nw X-Rspam-User: Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=mqyhAjr8; spf=pass (imf03.hostedemail.com: domain of mhocko@suse.com designates 195.135.220.28 as permitted sender) smtp.mailfrom=mhocko@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com X-Rspamd-Server: rspam07 X-HE-Tag: 1646664107-558071 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sun 06-03-22 15:11:23, David Rientjes wrote: [...] > Some questions to get discussion going: > > - Overall feedback or suggestions for the proposal in general? Do we really need this interface? What would be usecases which cannot use an existing interfaces we have for that? Most notably memcg and their high limit? I do agree that the global means to trigger the reclaim (min_free_kbytes) is far from a precise tool but it would be interesting to hear more about why a number of reclaimed pages would be a more useful interface. Could you elaborate on that please? -- Michal Hocko SUSE Labs