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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13E2BC433EF for ; Tue, 12 Apr 2022 02:16:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245518AbiDLCTI (ORCPT ); Mon, 11 Apr 2022 22:19:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244900AbiDLCS4 (ORCPT ); Mon, 11 Apr 2022 22:18:56 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 890BB33E22; Mon, 11 Apr 2022 19:16:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4A522B81A02; Tue, 12 Apr 2022 02:16:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 844E1C385A3; Tue, 12 Apr 2022 02:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1649729797; bh=KaZSlo6LIAX65euqklpjff6NFiyuc2oTEahQLo/+iVE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=io4M4pnrSSa7MOeQoMszm+txnYiQiXzl5iRHCTCpj22aUWsmS1+ZChXNLDl+5sgBX el+oq9nDoL3sl9M/6/P/vHa0GbdoBjKUCTMdwh6PMASetM8W6ZIYdskyD5Ux8AlFLI Z/P340QLfzEMZ1nPWkGN3T9kNEwvNTYXCicl3Nq0= Date: Mon, 11 Apr 2022 19:16:34 -0700 From: Andrew Morton To: Yu Zhao Cc: Stephen Rothwell , linux-mm@kvack.org, Andi Kleen , Aneesh Kumar , Barry Song <21cnbao@gmail.com>, Catalin Marinas , Dave Hansen , Hillf Danton , Jens Axboe , Jesse Barnes , Johannes Weiner , Jonathan Corbet , Linus Torvalds , Matthew Wilcox , Mel Gorman , Michael Larabel , Michal Hocko , 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, page-reclaim@google.com, x86@kernel.org, Brian Geffon , Jan Alexander Steffens , Oleksandr Natalenko , Steven Barrett , Suleiman Souhlal , Daniel Byrne , Donald Carr , =?ISO-8859-1?Q? "Holger_Hoffst=E4tte" ?= , Konstantin Kharlamov , Shuang Zhai , Sofia Trinh , Vaibhav Jain Subject: Re: [PATCH v10 12/14] mm: multi-gen LRU: debugfs interface Message-Id: <20220411191634.674554d3de2ba37b3db40ca2@linux-foundation.org> In-Reply-To: <20220407031525.2368067-13-yuzhao@google.com> References: <20220407031525.2368067-1-yuzhao@google.com> <20220407031525.2368067-13-yuzhao@google.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 Apr 2022 21:15:24 -0600 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]. debugfs is for ephemeral temp stuf which can and will change or disappear at any time. Anything which is "required" by userspace should not be in debufgs. Presumably sysfs is the place. Fully documented and with usage examples in the changelog so we can carefully review the proposed extensions to Linux's ABI. Extensions which must be maintained unchanged for all time. 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 94E43C433F5 for ; Tue, 12 Apr 2022 02:18:10 +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:In-Reply-To: Message-Id: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=xqvpnUBM03p4r/8IipDYuU1R5Ox/Xn66SY89eBfilZM=; b=nL59l10K2Tg5WX 5TSFZG6NzB4j06Q+q61I9HsfNcXrbDeq0RuA0jHNDP+X37EO2Myzi3m72lfbPqLXCsoqmxBC37Juz x1yxcfcFCijyqJ93wXdCbVEOtyv/gXIOBaSL/Pjm9R/CaE1M1ZsWXldj7yaYkt0In1Nd+X5oBVR0b U/76GtDu8g0IyLtGUWGfqQI6vEAXMW/RhOWVs4B/8XpB9VxmuYE1mf//wurR8L6IvuIAWXtAsREjD Kmv1qMOterqhJNUo+DflB7nmhtnn0woU4ttEOq7VfdjLj9tukBSq7Hy0uansT4Q6OfbIOlqnK+Qnz b3qjd21SB6yk6w+v6OMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ne65V-00BFEW-VB; Tue, 12 Apr 2022 02:17:02 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ne657-00BF1m-Vf for linux-arm-kernel@lists.infradead.org; Tue, 12 Apr 2022 02:16:39 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8C7A4616B5; Tue, 12 Apr 2022 02:16:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 844E1C385A3; Tue, 12 Apr 2022 02:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1649729797; bh=KaZSlo6LIAX65euqklpjff6NFiyuc2oTEahQLo/+iVE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=io4M4pnrSSa7MOeQoMszm+txnYiQiXzl5iRHCTCpj22aUWsmS1+ZChXNLDl+5sgBX el+oq9nDoL3sl9M/6/P/vHa0GbdoBjKUCTMdwh6PMASetM8W6ZIYdskyD5Ux8AlFLI Z/P340QLfzEMZ1nPWkGN3T9kNEwvNTYXCicl3Nq0= Date: Mon, 11 Apr 2022 19:16:34 -0700 From: Andrew Morton To: Yu Zhao Cc: Stephen Rothwell , linux-mm@kvack.org, Andi Kleen , Aneesh Kumar , Barry Song <21cnbao@gmail.com>, Catalin Marinas , Dave Hansen , Hillf Danton , Jens Axboe , Jesse Barnes , Johannes Weiner , Jonathan Corbet , Linus Torvalds , Matthew Wilcox , Mel Gorman , Michael Larabel , Michal Hocko , 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, page-reclaim@google.com, x86@kernel.org, Brian Geffon , Jan Alexander Steffens , Oleksandr Natalenko , Steven Barrett , Suleiman Souhlal , Daniel Byrne , Donald Carr , =?ISO-8859-1?Q?"Holger_Hoffst=E4tte"?= , Konstantin Kharlamov , Shuang Zhai , Sofia Trinh , Vaibhav Jain Subject: Re: [PATCH v10 12/14] mm: multi-gen LRU: debugfs interface Message-Id: <20220411191634.674554d3de2ba37b3db40ca2@linux-foundation.org> In-Reply-To: <20220407031525.2368067-13-yuzhao@google.com> References: <20220407031525.2368067-1-yuzhao@google.com> <20220407031525.2368067-13-yuzhao@google.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220411_191638_140203_25D9A4E8 X-CRM114-Status: GOOD ( 12.53 ) 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 Wed, 6 Apr 2022 21:15:24 -0600 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]. debugfs is for ephemeral temp stuf which can and will change or disappear at any time. Anything which is "required" by userspace should not be in debufgs. Presumably sysfs is the place. Fully documented and with usage examples in the changelog so we can carefully review the proposed extensions to Linux's ABI. Extensions which must be maintained unchanged for all time. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel