Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2212230rdb; Mon, 9 Oct 2023 17:26:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFhMaNbySNAySvMeVEsZst7+7ATN4TbawsTd8JQaWOI6sNtiIo/fPxlc9kz07V1uPd4552C X-Received: by 2002:a17:90b:1c0f:b0:261:2824:6b8c with SMTP id oc15-20020a17090b1c0f00b0026128246b8cmr19382687pjb.13.1696897601873; Mon, 09 Oct 2023 17:26:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696897601; cv=pass; d=google.com; s=arc-20160816; b=v6ly8tPVeNAHkMZBq6G3HF4tE/1iaxo/fsXhKMiyLpNQvmNsrcR2uOjNe8iyYcR1Pb zSWBiZ1rAjutG2IVuvx5Vhp6TNhyxGAAfV8m3ddpvCMDC4JjNpsbnPBosIQjPLTSMZHo AIg8yv/5XQTOGCdOdcalfXrB6k2Jnmk8vvZAqBs4YnNTYvgdo/9ge7pBRWhm/EhhS1I8 Q118lC3GLBhIFNMGuHXYnjctsnpIXEjQI8dlBHvQss9hEmA30iU2Q/9V8M2d8bPw56b3 bKb3eSvc8c7gwVVFEpoxT7WSuloa3HzwOoUTTdKjh6rLuhnxk6/SjDPFECr1mIcM5G22 r7Vg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=bcKJnafFvrmvV5eix9YhY3Zq8r53X9bDaNnStAeJyDM=; fh=wNA3mIu8mHuU/BNJOw9FLZPf9TdXknUXepvjzX3ju60=; b=SBkb+K6357TVXVDXctGbd3HV9i7D2dK2pzJUG8nLULEs9uqk3wkDFoBOgP2tqvcSiu bq0NcPEs9yjB9Iwr0/Thb/5QE7xasfkTQ3mHB8IxDxipPPZOH6a6GhFqdbh0g47ihjAF sndiYtmdWD5VKSA552qM+N4BJQxDP2BiTiUotJdCpSOokhajNRFe+GecHx+aNYRbvWS6 clLoOb4QKRT5DvSFXp2Y+Sog88bRYOtIBNd2hVKki83lDNmlRq6rQlywieMranEWJISe LSqPStCYOsQwxFP2hIFX+MIcagYVbUCwtwtYXwToX1IWBPJuP5sOEERZqDmr2SlMUoYB fPJA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GDjgJNHe; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id z17-20020a1709028f9100b001c77e00809csi8683256plo.453.2023.10.09.17.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 17:26:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GDjgJNHe; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 39C7980473AE; Mon, 9 Oct 2023 17:26:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379194AbjJJA0J (ORCPT + 99 others); Mon, 9 Oct 2023 20:26:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379119AbjJJA0G (ORCPT ); Mon, 9 Oct 2023 20:26:06 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF208A3; Mon, 9 Oct 2023 17:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696897565; x=1728433565; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=bcKJnafFvrmvV5eix9YhY3Zq8r53X9bDaNnStAeJyDM=; b=GDjgJNHeZk+9bFTYHz4D+9PUZJjXi8Biy0Af7itmhcj7Ywnfhpa3qJS4 BlAQWQWkcIdT6D4yoCt3L/UstNaLfmXm0QVfbGMyLSzKQvSZPwFUs4uFZ HV23x1eOaHD/e40diLgtHVREzTKEpCNRFsRHzAseIVk0bsqy3EGAcROzA zSW0J7g4wVR8nksJFc+qP6+0GuPkZ2IMN8pYFjarnOwLd4n6x9OmmmCIK 26Q33+qa12kM0T9vASPRYC8HzTeVwuWk/Rttowu0TymtLD3IyJ1AKmsCu MO93MFLxlxhqFtHGVUrFuT5AHH8G5Pq6g/R9XDgWaVWQPq7Hjx5md9qLr g==; X-IronPort-AV: E=McAfee;i="6600,9927,10858"; a="415270019" X-IronPort-AV: E=Sophos;i="6.03,211,1694761200"; d="scan'208";a="415270019" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2023 17:26:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10858"; a="756897664" X-IronPort-AV: E=Sophos;i="6.03,211,1694761200"; d="scan'208";a="756897664" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 09 Oct 2023 17:26:04 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Mon, 9 Oct 2023 17:26:04 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Mon, 9 Oct 2023 17:26:04 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Mon, 9 Oct 2023 17:26:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EJ8qcZCAndZkw5AEAiqK8P6Amwz+A7m9xEcBPqk7ihqS1tWSjGBg/cUDnUgtbVtiPs0BBT+ZgYb7qj288MmOBtxz+qqFSUnyAt6oeVMEsd7fZwOcd3YlFDqJrCtqhW3fbNkqJWewtl4RK5dS6pcQylf3WHhVwTfFwBBwCfhCvLXjFK319N2w9ckKuq22DODi17Vf466TyRH6yTX5i1XVwvgPq91iD31RLTb9ah0JFIFobr1f1O60NpGke/yZorPeu8df7FIovSKxbmWQtIdPw4VdhHeRFOCC2DroZiZmV+CSyojAJWUJO5bxUJrlGZOXc/bAySzreVy1mPdZ7pbAtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bcKJnafFvrmvV5eix9YhY3Zq8r53X9bDaNnStAeJyDM=; b=GJfosd5GbY1MGVA9TdfE5/M5mRX/pGUYU6Ky1Uf8uh3xozZWxJ4rPHH/qTg2++1auDh/1TPEtBN2vwpibRjXgq7ibXEaAQg4id0W5JzENaVF+taIQpOxHPFsdPxBDJ0oy7gdog3PaF9tlUooO/wBECuwBlb3hDYd708QUAFyYljt8nHY0cZUG45bi+act64aJXFRv0P4HgIzxjYnbY+d2i29y64T3sZnjp+zTXFoa4rljIlBNl44ajQ5yM6vIQ48QFj+y0/O4vkeZLJES72+XAW5qoUlm9e9rNAkpNA1vEdCcqxpIRZcxQefqFou+nE9PZkn4yeuVxxqLNflyDjjcw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BL1PR11MB5978.namprd11.prod.outlook.com (2603:10b6:208:385::18) by SA1PR11MB8576.namprd11.prod.outlook.com (2603:10b6:806:3b5::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.34; Tue, 10 Oct 2023 00:26:01 +0000 Received: from BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::31a9:b803:fe81:5236]) by BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::31a9:b803:fe81:5236%4]) with mapi id 15.20.6838.033; Tue, 10 Oct 2023 00:26:01 +0000 From: "Huang, Kai" To: "hpa@zytor.com" , "linux-sgx@vger.kernel.org" , "x86@kernel.org" , "dave.hansen@linux.intel.com" , "cgroups@vger.kernel.org" , "bp@alien8.de" , "linux-kernel@vger.kernel.org" , "jarkko@kernel.org" , "tglx@linutronix.de" , "haitao.huang@linux.intel.com" , "Mehta, Sohil" , "tj@kernel.org" , "mingo@redhat.com" CC: "kristen@linux.intel.com" , "yangjie@microsoft.com" , "Li, Zhiquan1" , "Christopherson,, Sean" , "mikko.ylinen@linux.intel.com" , "Zhang, Bo" , "anakrish@microsoft.com" Subject: Re: [PATCH v5 16/18] x86/sgx: Limit process EPC usage with misc cgroup controller Thread-Topic: [PATCH v5 16/18] x86/sgx: Limit process EPC usage with misc cgroup controller Thread-Index: AQHZ7csxMWGpeN5dZUG6Wyp0ITB+SrBCRRaA Date: Tue, 10 Oct 2023 00:26:01 +0000 Message-ID: <0005a998dab64c182c22abc436cbcd36de4240a1.camel@intel.com> References: <20230923030657.16148-1-haitao.huang@linux.intel.com> <20230923030657.16148-17-haitao.huang@linux.intel.com> In-Reply-To: <20230923030657.16148-17-haitao.huang@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.48.4 (3.48.4-1.fc38) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL1PR11MB5978:EE_|SA1PR11MB8576:EE_ x-ms-office365-filtering-correlation-id: 317f7daf-125d-4019-827a-08dbc9277b9d x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TqqR1SARZ+BL76mXstr8xvlVQafHstE6hwudcoLG1LAjWSy7LbO3JZv5G4wXXmNBbl9ZcmHWBknx/0xSDTm+gx7vij+FhPfVg/c9je/mSHRRoeSv3Mk02Vuqv1CYwZ/GDInzhBsWOrV6FbECWms4XqBxoHDkXLdShgmZvxT6e5ebGHCRWKu3GkPiCsigWQFOHpGq+9IuxQJWH6mY7DpooZtkQOda9v29w0ETJy0QniUavbAPomjnSm95aDdxWbcOWpol5FcGW6ocQOeHygP/SDPVnMLBm2NQ39RcJQICsow10aczqN6dxfnRPpWm+yuDtZwt21vN4fghRuQy7C1n/3hjY8mOtXLFStQwmbE1gCKdtDdMPyaWjR84b8+1H7jvXXwQdS6fjf8HcGkWw3e54AYZkiQX8SNZLnS50H6iLCc3rK7Y78F5Ow3E86SP6iiUWtut73+/bb1TSiME0Lu2bz3w7XxksiDhb7SrrmVNPxZUkP+lGJ3dY7oxar8XfZhwEqdliAUJWJM9n6iGb5mXrXXSj4KC8MUKmkI/+YFehIUCB2AVrP0lhwpF1XyxHoD4EpdynosRVEuBSm3/sAPQ7Bj68uOUoYxaNQK8ZCfndIjjcqQJwEWSfEvLMZNy0D0EmLVmZhD7jrVsz/Lsw1yfPw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR11MB5978.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(39860400002)(396003)(136003)(376002)(366004)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(2906002)(64756008)(66476007)(36756003)(122000001)(38070700005)(921005)(6506007)(6512007)(478600001)(91956017)(86362001)(82960400001)(71200400001)(2616005)(66446008)(26005)(66946007)(54906003)(316002)(6486002)(41300700001)(76116006)(38100700002)(8936002)(4326008)(8676002)(5660300002)(83380400001)(110136005)(66556008)(7416002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?V2ZBWVJLME1UNnpXUEQxYnRpNDR1K1EwK0hwUnZ6THo1TUNacWpONmdFTURz?= =?utf-8?B?L2hld1k4OUNqRE16am41eXFNMW1vSkYwL05HMDc4bExDdjltMjFVN28zTlhF?= =?utf-8?B?ZGYvRi8rdlFLcS9VdWM0KzlRL2xmTHQ4alhVL3k3SkwxYXFxTm1aUzJpNnB4?= =?utf-8?B?SW1aQlNnUDh1dXR3a004L2xDdlhCWnNZWmYybmlpV2JmaUY0YXdJOVQxbGE3?=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FV09DMTNWcFVENDBlbHBxOEtV?= =?utf-8?B?bGt3UkZzNVdwR3VYOWJ3RDkvYVV6S3NMMkgxK2lIckhPM0V1NEkxUGhwQy9L?= =?utf-8?B?bHJUYTJlQUVRUGIrVVhHc2M4dThPb2tuWkhwL054RnRmZG1aZFc0NFAzaEdt?= =?utf-8?B?Mmc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <1C1EF32C6B0C0F429A1C479671047E24@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5978.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 317f7daf-125d-4019-827a-08dbc9277b9d X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2023 00:26:01.7854 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: muwTHiQatLrqpmF15bIkby5SSlPjQDXrI4/LUeECDpv9y7rFfLLPOJSdrux1XpTLb8bXLFYhvV5Df99FjryK2g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB8576 X-OriginatorOrg: intel.com X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Mon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