Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp932641rdb; Wed, 1 Nov 2023 07:02:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFp6UlfqsS6Ed3HaCxAr0fJsf/oWy/Bbi8DQPhhQMglWgmhIiGBZ1ATYHmp4uAjGTDlQO2V X-Received: by 2002:a05:6870:6196:b0:1e9:efa9:1199 with SMTP id a22-20020a056870619600b001e9efa91199mr17475026oah.4.1698847322710; Wed, 01 Nov 2023 07:02:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698847322; cv=none; d=google.com; s=arc-20160816; b=EWRo8Y7VZAyZ9owObvpTL1300HI2LsokNjmnX/p7OJ26sMvOVfNP+uDzBMD3/R74zV Fb3EhM/HtP+HfM+togmG/QsFsF6Gb6kJXQLjwgjSALsCc4fPzR9lK+gSlUjKqZCiRqcK BiTYQBfMwbvvWT62ai2+sJepqSN16RNlSDmC+z3QFVEpUAaelEvSAxQCYMweWC4p8x3b ek+8GA0lTGEXuHGj+NrUHA4yOxVhL7FXT5/cinLSTlTLeg6kTvHAYJVmP0uc51ZMT1Cg TmANGnmta4F29KU2yy9IIFiLmtB0eG07s3IiWWfjxGuTNiW6a+vonw2wTxej3apoxndE OkEQ== 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=HLiYVD2bRDe/aeyPHKjrOUYyw8vp2Tqf1wgU9nx85p8=; fh=h+Cf7dun7GC7pP7X5IsNYluy+2OLdgYH+37Z6EPuCag=; b=Ci9sVW/iDBiXUVRYCJlLjX3LE8PbJzVhpdXX8xiuz5IZY0SRYid5Ek40D6ID3F6J2Y XWifPvh/Cw+aYS6VuQu/ZFGTS59Z1W86EYxQswSARF7bOr59hynndup+eH9Xn2A/L9z/ uUNCZ+ndldESVVTagUfqJFnldKFS++3DgOTrZAsZsYLRM8IBKdBqXviycMKFzekUZrUY JkV2Z144vDyfvI47an54JQE9cXXoIdOjcmcL7Vt6rpbrd+gcyaQY2Xl3BKaq1oq2wMKw gasHKwAs0rMFfRFK14IsWRMM13FzhKDB778A3d6Fvkyninwrt4ZcYtbUFB7t5WF6Prbs NWHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=RAD9DQE3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id dd6-20020a0568306b8600b006ce2c7f4c79si484269otb.228.2023.11.01.07.02.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 07:02:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=RAD9DQE3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 688BE807E8BC; Wed, 1 Nov 2023 07:01:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232094AbjKAOBc (ORCPT + 99 others); Wed, 1 Nov 2023 10:01:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231501AbjKAOBa (ORCPT ); Wed, 1 Nov 2023 10:01:30 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1D2783; Wed, 1 Nov 2023 07:01:24 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 6809E2185F; Wed, 1 Nov 2023 14:01:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1698847283; 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=HLiYVD2bRDe/aeyPHKjrOUYyw8vp2Tqf1wgU9nx85p8=; b=RAD9DQE3J1toU6Qil/GtsecXIktGsbpW1JkuvpiDva+38jiSQkMKdsBsDyvlA+ZO/2tuyq nOUa/n2tKDCtPduu0a4wuhwQrJoVvUJRJNp/coCFZZftzOkJCwv6Dl7Nuh27iG0+4CmIKL eHnE1cd4onUjxsMAVifKkPLa8qaF3+8= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4778E13460; Wed, 1 Nov 2023 14:01:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id FYU5DjNaQmVyfgAAMHmgww (envelope-from ); Wed, 01 Nov 2023 14:01:23 +0000 Date: Wed, 1 Nov 2023 15:01:22 +0100 From: Michal Hocko To: "Huang, Ying" Cc: Johannes Weiner , Gregory Price , linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, aneesh.kumar@linux.ibm.com, weixugc@google.com, apopple@nvidia.com, tim.c.chen@intel.com, dave.hansen@intel.com, shy828301@gmail.com, gregkh@linuxfoundation.org, rafael@kernel.org, Gregory Price Subject: Re: [RFC PATCH v3 0/4] Node Weights and Weighted Interleave Message-ID: References: <20231031003810.4532-1-gregory.price@memverge.com> <20231031152142.GA3029315@cmpxchg.org> <87msvy6wn8.fsf@yhuang6-desk2.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87msvy6wn8.fsf@yhuang6-desk2.ccr.corp.intel.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 01 Nov 2023 07:01:55 -0700 (PDT) On Wed 01-11-23 10:21:47, Huang, Ying wrote: > Michal Hocko writes: [...] > > Well, I am not convinced about that TBH. Sure it is probably a good fit > > for this specific CXL usecase but it just doesn't fit into many others I > > can think of - e.g. proportional use of those tiers based on the > > workload - you get what you pay for. > > For "pay", per my understanding, we need some cgroup based > per-memory-tier (or per-node) usage limit. The following patchset is > the first step for that. > > https://lore.kernel.org/linux-mm/cover.1655242024.git.tim.c.chen@linux.intel.com/ Why do we need a sysfs interface if there are plans for cgroup API? -- Michal Hocko SUSE Labs