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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 38535C433F5 for ; Fri, 18 Feb 2022 18:58:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:Message-ID: In-Reply-To:Subject:cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EbS9LwLFF1PwNh/KBDzSBWb7DPSAcY5gAfvp8j0JVDo=; b=TZDZasbRUsAxIA 1hhutdF0GDcmH6llzu6PxWyKnOS3ekRm+4dOz6JjHmnRgNI6fbFYEHGLVLSm60gDA9msSdDEXl5dq dSHcx14loJ6iE3/TW3CfjRkm6TWx1umjdSm0slvC18u+hqS6hohxQnMQ0meTkcGRfRXT4Wyu3ybkJ YmzEqeT3MhL+VrAgBiy943F/SB+lVRHU5ptYKfDZEfhgFaKKoPMfAbh3MS//86lhocXeJQTgFurP6 k0WNLNsGJBqdmpMtX3Nor5PAHiz5Kl2akcf8kQE7pKc8GYfTonFELPbrN9nNTLgFwDZ81+M6i44tB Ipco7H+Kg8xmMMyS7Kpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nL8R3-00FZTS-FL; Fri, 18 Feb 2022 18:56:53 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nL8R0-00FZSO-I5 for linux-arm-kernel@lists.infradead.org; Fri, 18 Feb 2022 18:56:51 +0000 Received: by mail-pf1-x436.google.com with SMTP id g1so3032987pfv.1 for ; Fri, 18 Feb 2022 10:56:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=dbe5PmbOzu407KEsPvcN8zvRJM1P0pbKwetHq/iEzos=; b=lFy1wh6Fs5vAcbQolk5/ZuS0j8ngCp9l1Ec5UjYZCnmRC8oPrhCexnNr3sqTmnpC9I ar+eBAwyb3BGhb+qlCicc7nB6hWxdPwpNTFDQ/Y/TaQ+C1Wx7XCv6esI7uC/XQWIsCQl dB7j43NJaM0uQu3fNB5gj84GqiWGt/vXA1VCj7CmPwf95ZKiCsxgZ+0U/ktem0WBpHs4 Vdz/ZOxBCAiSahiBaoqYgZzfKrhsemQoRdK9LvWCveUyt7xsxkJ4nm+Lv5jP4lEQneb0 uN2nEkRPzhhXlNhlD9haNEYnSshl37Q9+W/L+7aCBzTtBPj4a+uzT1NNMsR8dhMXu7aH V9Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=dbe5PmbOzu407KEsPvcN8zvRJM1P0pbKwetHq/iEzos=; b=aq2dk8EVJjYRvm9lprrdFsDbrThiVRPXRlu2q4F1R8ppxi58ZXvfn94cvo5hAS7EuO RHgOx0c/i0XuGAYoDW3gzV/53S8R6qTK4kpLQV62PF029TTlmtS0qUaq/R09cvfh77uh z6JHpqzrCXUweufwpmLKTP7LWgAgo+m3Pgq7OLCnwAq0EPriRtuEZ2wx5ZuwnNPym9BO YLaPK4gR2W2Z7thqb5fAEMB2AplUxARex5A5dRzoOkJHKQ3oAMt8VRjLmN0fd6HgeYek tZnDfTXov5pnX9KLEH2zskaBhkM9o8tUMvUX3XS7otzlYGLubZtT14Wynlh/I+7yrf8w dWUQ== X-Gm-Message-State: AOAM531uK7rqpTsvFt2t4+f/LTh0DnquDiwYUvIebRorbohBYxNvu23H lrda8KlJq8AwpXw33560Za8pag== X-Google-Smtp-Source: ABdhPJwSjj6GxMmzYDQ5iCyFOqCMP2mgbA8qtwDhJa3dj1eG4LQCuQFN/eBzULYMlQIQK1xbNs9SOQ== X-Received: by 2002:a63:ff54:0:b0:373:520f:a01d with SMTP id s20-20020a63ff54000000b00373520fa01dmr7313446pgk.394.1645210605382; Fri, 18 Feb 2022 10:56:45 -0800 (PST) Received: from [2620:15c:29:204:701:472c:4005:6710] ([2620:15c:29:204:701:472c:4005:6710]) by smtp.gmail.com with ESMTPSA id a17sm136665pju.15.2022.02.18.10.56.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 10:56:44 -0800 (PST) Date: Fri, 18 Feb 2022 10:56:44 -0800 (PST) From: David Rientjes To: Yu Zhao , Johannes Weiner , Shakeel Butt cc: Andrew Morton , Johannes Weiner , Mel Gorman , Michal Hocko , Andi Kleen , Aneesh Kumar , Barry Song <21cnbao@gmail.com>, Catalin Marinas , Dave Hansen , Hillf Danton , Jens Axboe , Jesse Barnes , Jonathan Corbet , Linus Torvalds , Matthew Wilcox , Michael Larabel , Mike Rapoport , Rik van Riel , Vlastimil Babka , Will Deacon , Ying Huang , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, page-reclaim@google.com, x86@kernel.org, Brian Geffon , Jan Alexander Steffens , Oleksandr Natalenko , Steven Barrett , Suleiman Souhlal , Daniel Byrne , Donald Carr , =?UTF-8?Q?Holger_Hoffst=C3=A4tte?= , Konstantin Kharlamov , Shuang Zhai , Sofia Trinh Subject: Re: [page-reclaim] [PATCH v7 11/12] mm: multigenerational LRU: debugfs interface In-Reply-To: <20220208081902.3550911-12-yuzhao@google.com> Message-ID: <5dcf93c7-7b75-507e-f896-d1bd8c7ceb37@google.com> References: <20220208081902.3550911-1-yuzhao@google.com> <20220208081902.3550911-12-yuzhao@google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220218_105650_621606_01668959 X-CRM114-Status: GOOD ( 11.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 8 Feb 2022, Yu Zhao wrote: > Add /sys/kernel/debug/lru_gen for working set estimation and proactive > reclaim. These features are required to optimize job scheduling (bin > packing) in data centers [1][2]. > Johannes, do you believe this interface is sufficient to induce memcg based reclaim or do you have plans to propose a memory.reclaim extension to memcg? I assume that lru_gen could be used even if memcg is disabled whereas memory.reclaim would only be available on systems where the controller is mounted through cgroups. Yet a question would probably arise about the stability of this interface since it lives in debugfs: can we plan on /sys/kernel/debug/lru_gen being long-term supported? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel