Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2230896rdf; Mon, 6 Nov 2023 08:11:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFtyV870bePtRFad++V85yqlx0nAeN/qQtn28BNLtSM4Fv4Cqf+dPU7sRJFgFKxKUSNmNv X-Received: by 2002:a17:903:2054:b0:1cc:4146:9ecb with SMTP id q20-20020a170903205400b001cc41469ecbmr18978046pla.47.1699287110318; Mon, 06 Nov 2023 08:11:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699287110; cv=none; d=google.com; s=arc-20160816; b=AAeB2efuHbWUA1ff0dELKUXvJQUYES7AHTY3AO4vYU8yAcbvMy/97GyyolVlwxSXP3 rjpFvwqZrfH9ZaCACy0/vKS+rczqOAIxgGot8D5YtD0gQtqjLd3UKKB0vtkkXFYuPlV7 h1UKkb9o1ulD3w9su5CVYRWfl1IcnDgRjxQ56mjMM36Q4VVbLjyWhof9NIVJpYI7SzBU c7eaxcWUwzdAnqbbMkpSHET7rAI8NRdKmCiX5nw/NnPi2NMhkrnIyPqoVYjHAl0xve1U EmqnJ/Fa5AYBoVb4nwv1oKhfiuJlw9Onx+oOn4Yl4qD3pbieQeE0pbMwIy6xu8WYwiVG QzrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:message-id:organization :from:content-transfer-encoding:mime-version:date:references:subject :cc:to:dkim-signature; bh=GwPkEY/K45uDKbm5otQsAp571ZRkQBkg0kvxM8Ond2g=; fh=IQDzs0JInVPrU1ewvs4icXm27d6+xomd955V7oCBkSQ=; b=BPia4nUpgLin5SFwd0Kfarld++Lmf18dGpVpmHgYpdlWJ6DqAohlJHtNHelx+YY9vL H5cH+8Qj1/owLQ4ZTN29PCsxoOIcno3Wzk0uzl8YV2r3yQmNkScHrfMj/+hsodP2SY4J 8wh26jMhOf/A2i8C9lVd1EE0nTKXoH1FBertRIpvechon55RDcTDBv5yUBfxYup+8VEv t5kheyvrhBtTU/2xwsHZ57kD7ExYkuM3y3F/fY5okOF/V/aHcAqzG+tQ2NdbasgFvzUS /NgYP21cti1cotTRD+pgY5gfjjQQb/+N32mYGOwKLho5i9tuDbLABfGWIx7ziNPT9vYV vNUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZXgy+Xq6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id q4-20020a170902c9c400b001cc23d2bb92si7543085pld.650.2023.11.06.08.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 08:11:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZXgy+Xq6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 15D4E808725E; Mon, 6 Nov 2023 08:10:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232094AbjKFQKv (ORCPT + 99 others); Mon, 6 Nov 2023 11:10:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjKFQKu (ORCPT ); Mon, 6 Nov 2023 11:10:50 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3EF8134; Mon, 6 Nov 2023 08:10:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699287047; x=1730823047; h=to:cc:subject:references:date:mime-version: content-transfer-encoding:from:message-id:in-reply-to; bh=5GCvRiNJ6dV/UFrpMZoxAhMDSzAyJ+nl9Yy7Gla6K/8=; b=ZXgy+Xq61MvlXU8c7SqAM76EkbDWO3F5iV5DAnaAqOpxZAZ5RMiS2eND TMC7wWQGv/XoVqQObfUrBL9UhypWuVuB/uVb368ht+FuZgNm2kOUcWAhP 2SWns3tyvwNwBYGDIsCGPwgbaGH8KJuldv+ZIh4US+lZFIsTTiYx7iq6N jZqumo0VUTAxk/3fGwmJXd3rVISx3XXAACn+7V2RFVhrccFXE+oSbGhGY yYpYNpomIeVbKnCc+p6fDAzOCk34QA9Rboc1hSOOLxRsnlKJJ0uQ4IW6S PFKWtdRUrdRX3ZI+GvWjNtRgtUNkUogSD532L9GETZ6JZ3hQOOoQX2bUd w==; X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="388185695" X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208";a="388185695" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2023 08:10:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="828265482" X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208";a="828265482" Received: from hhuan26-mobl.amr.corp.intel.com ([10.93.50.175]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 06 Nov 2023 08:10:45 -0800 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: jarkko@kernel.org, dave.hansen@linux.intel.com, tj@kernel.org, mkoutny@suse.com, linux-kernel@vger.kernel.org, linux-sgx@vger.kernel.org, x86@kernel.org, cgroups@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, sohil.mehta@intel.com, "Haitao Huang" Cc: zhiquan1.li@intel.com, kristen@linux.intel.com, seanjc@google.com, zhanb@microsoft.com, anakrish@microsoft.com, mikko.ylinen@linux.intel.com, yangjie@microsoft.com, "Sean Christopherson" Subject: Re: [PATCH v6 10/12] x86/sgx: Implement EPC reclamation for cgroup References: <20231030182013.40086-1-haitao.huang@linux.intel.com> <20231030182013.40086-11-haitao.huang@linux.intel.com> Date: Mon, 06 Nov 2023 10:10:44 -0600 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Haitao Huang" Organization: Intel Message-ID: In-Reply-To: <20231030182013.40086-11-haitao.huang@linux.intel.com> User-Agent: Opera Mail/1.0 (Win32) X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 06 Nov 2023 08:10:57 -0800 (PST) There is an issue WRT charging proper mem_cgroups for backing pages once per-cgroup reclamation is implemented. Please apply the fix-up patch [1] on top of this patch or the series. Thanks Haitao [1] https://lore.kernel.org/all/20231106155859.7251-1-haitao.huang@linux.intel.com/