Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp209008rdd; Wed, 22 Nov 2023 13:34:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtsS/cFylLT1kijDaghs8bA7v382IDE5vyJTLSTci+StqU0HX1mkHq0BDO7pVv2ReMwy0v X-Received: by 2002:a17:902:f7d4:b0:1cf:689e:583f with SMTP id h20-20020a170902f7d400b001cf689e583fmr815015plw.27.1700688879535; Wed, 22 Nov 2023 13:34:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700688879; cv=pass; d=google.com; s=arc-20160816; b=PHO/wpL971cLIn3fmsaEyPKAMaisGfUvVjS/RjaF26Dvg3lyguElVP/MGoXU7DLISj ByCWypFi1XIU4Wey5/B/1ZOBAzQWkfC/10c7zqmGT0AOxkj3Uzjk2f0deiBJwvZ1Lnuo iVpxAj9w9Wtkba0oSkilu0RXaBa/5eGVDo3hgM4A4hYnUfzwqgvQ/vOiRgt+ERmF3rGi ZoKwQs/demzj2iMU0EOzgF2xs86juD9mY6LAqDAqeclfY51oj1CZ5lA+qdMqn5Lx4YZj U9a8tRcGM6VjkiZZ3bIGNL43cmXvYsY3ZmCSPILrXePibdbgr2z8jmp0tg7ejYb5PsgA 8MrA== 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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature:dkim-signature; bh=l00t4r4lDmeQromrVsFWao4+QKl0f1m370See9qT18o=; fh=xIGl2ogrxfhteZWO5UjJTukNCiYGBvtbsF/4zKfk6h4=; b=Sd/FteMQ14OSQTiUjcn2NpNcJhHWOuin4Pl5DPVL6awIJY2m/u+CEyrshBzZDxDs/J GO+whD7RDaTg9SuxcKp4iyiWkItBgRqEIYy90rPGM0PSKM22s2oEqA69RhJdriyH8NJn U4r32jjW2g/6rVBv3JNefQo8LBtwWlVs0XoxY46XLSi9sM2JgtrMIVmU8M/eeKvX6Jy5 leEZrWZF9xX4btE4UnXjnJw3KonhtMCc6ra7z9wZeoMpuJaGJuDfrwTX3yHFOsZQoi5I EsANi6IeuBy2sA+ygHj9pJtls5G+4tlqdbBtJUNENegUelaySS/oIcftEQaTNFVErKO0 6UjA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=DGqWAqSp; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=snswto+W; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id jd7-20020a170903260700b001cc59201d1esi267962plb.172.2023.11.22.13.34.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 13:34:39 -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=@oracle.com header.s=corp-2023-11-20 header.b=DGqWAqSp; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=snswto+W; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6D0E2804707B; Wed, 22 Nov 2023 13:34:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232396AbjKVVei (ORCPT + 99 others); Wed, 22 Nov 2023 16:34:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231470AbjKVVeg (ORCPT ); Wed, 22 Nov 2023 16:34:36 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A15D81B3; Wed, 22 Nov 2023 13:34:32 -0800 (PST) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AMI1sCj024627; Wed, 22 Nov 2023 21:33:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-11-20; bh=l00t4r4lDmeQromrVsFWao4+QKl0f1m370See9qT18o=; b=DGqWAqSpzOre83gHaWBpbk8G7rl0Ov5QZ43LZwocl1tkI6cK8lB6njO3pLNVMIRaYXVM SjhLgCL0OU7MJ4aow37Ucm7zN6y94ddLvGuAZRIprWH7x+vZIKGvHoa3HKGsaJ+eG4Ca PhrO48cmDLZuW9yUYMXWub0bPamaVsFARUel+3m3g04xqzjZrhLz4DbLMHvKJcWHqBgZ 4H7PQBubP2VCn2KFlVroojMhEI3J1vr8i5uXA5kzYii5aOGmaShd82QQpjnbI/jRyqLb fBxZpUPmnBVgPmBfFjGKcKl+niSGYJ6uqd9AT6Li6gNsz50TlMEFxqf6n4bG/SOf+6zO Kg== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3uen5bgd51-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Nov 2023 21:33:26 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3AMJaLxG002352; Wed, 22 Nov 2023 21:33:25 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2169.outbound.protection.outlook.com [104.47.73.169]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3uekq9bs3d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Nov 2023 21:33:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VNm9vYumoi42iTkbhRV2EbSI9swDlmEdg2DJ0Js4XUKa4htNWLOvUrXQLz4xYAA8agxoTSAWcR4p0Px6hIA4dVlwUe7NeKIEqgfHXa+Rns26gh9s6PFC1j7/9UBo3b+Um0qPReTJvztoDsJPhH/ydDtM/u3IoN1fNxdKoKv2ZKhed2B4uk2KD6IIiDoVJGRT7T0naDbtSVv0fYEmq14ts/10nydUefHBBJX2yWI3vzeB7N15dJG3FAjekteQSkTNOqcmchMiTvIGYoIoBje4n/yw05N8KtwuCD5z1VyrJaNsKBzPHxHhbbZkek5/NTogcB/HI9h0+Stosx6dD4QQTQ== 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=l00t4r4lDmeQromrVsFWao4+QKl0f1m370See9qT18o=; b=VQ7l/dkV8FlQqiqpxaUx+47sBem9PFLWO4e70eXvCOG7CPB6/oVfujBmP0bxFVozrTwMlrrxbPsAFKabyax0obK6HmF69/PveWfioaxxmslqOuRuO9mRg0cAwxrzMVKoV5w9u4dBvFQ3QoUu6Q1+DaxZQnpEmXngn0KNvD7wfNNMFfCT9XTssRFPrY+/Mr8+uWOgfi8QvpAcNpVcpNNSGO9ERadrLEav+m6zEiZzqlwDxi0kwR4J7tBJkzwd3EYkbyOcLcNZeXVZ08794eIOK/VZ6KpBYICO7jBdr2YtnSWyeblMNq69VFHcI7guaxUkGwp4TkHZV3t7P9sTn7rgrQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l00t4r4lDmeQromrVsFWao4+QKl0f1m370See9qT18o=; b=snswto+Ww9qxxIYdakcENNEshMlCaAwReM8uhPPy8aOet24DhvjgkVDJhS2Qc9y1Qse4AwkclRV4iz/+rNonWhvMy+3a6WheDjyJVJLJi98aw8+CRs3aG17Z51PfaO2B+mRlEHLmm+TMTvxUmIj+kUZxVNJ2d4EcAY5DqCJB2b0= Received: from PH0PR10MB5894.namprd10.prod.outlook.com (2603:10b6:510:14b::22) by SA1PR10MB6567.namprd10.prod.outlook.com (2603:10b6:806:2bc::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.26; Wed, 22 Nov 2023 21:33:22 +0000 Received: from PH0PR10MB5894.namprd10.prod.outlook.com ([fe80::77c7:78b0:ea43:e331]) by PH0PR10MB5894.namprd10.prod.outlook.com ([fe80::77c7:78b0:ea43:e331%3]) with mapi id 15.20.7025.019; Wed, 22 Nov 2023 21:33:22 +0000 Message-ID: <724589ce-7656-4be0-aa37-f6edeb92e1c4@oracle.com> Date: Wed, 22 Nov 2023 23:33:13 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 7/7] cpuidle/poll_state: replace cpu_relax with smp_cond_load_relaxed Content-Language: ro To: Christoph Lameter Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, will@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, pbonzini@redhat.com, wanpengli@tencent.com, vkuznets@redhat.com, rafael@kernel.org, daniel.lezcano@linaro.org, akpm@linux-foundation.org, pmladek@suse.com, peterz@infradead.org, dianders@chromium.org, npiggin@gmail.com, rick.p.edgecombe@intel.com, joao.m.martins@oracle.com, juerg.haefliger@canonical.com, mic@digikod.net, arnd@arndb.de, ankur.a.arora@oracle.com References: <1700488898-12431-1-git-send-email-mihai.carabas@oracle.com> <1700488898-12431-8-git-send-email-mihai.carabas@oracle.com> <6bd5fd43-552d-b020-1338-d89279f7a517@linux.com> From: Mihai Carabas In-Reply-To: <6bd5fd43-552d-b020-1338-d89279f7a517@linux.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0054.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::23) To PH0PR10MB5894.namprd10.prod.outlook.com (2603:10b6:510:14b::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR10MB5894:EE_|SA1PR10MB6567:EE_ X-MS-Office365-Filtering-Correlation-Id: 3468d15c-56a4-412e-c63c-08dbeba2a6f6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KURMWA/LCMiVoleT10biQD3HLoCRfRF8YPClxEVs4ls/hu1PsNq1C1+QDojz0tdV8Ffamnk5pmgmbwxlfZI5v4DJFgPzUBJtUrGHeCwNqRPhpVplHwP51oJQBUErVGjdqJ1sB3PgAd51ss1IAKbe0+ggneUMa1IVo25B58wapX60o6O3pN+TFOFYSZkP9w6fU9oSwzY6eI5MYJtgDfPCr9md7KFkifu+b1Eq42rIsO+daUSwSNHAvun3mXl3mDkNUcvKwwqaSRLzJCRxjKvh/qm53F58GG2T7Gl0Kgp7iH3RamTUIVEtt69YBupw6BGEeD4AN67DhPyQlffHhYMcfkQhfc+aevi6rB6oVpMyOj3Oh4MTxOgh7lpTcFL5StTzfNrt3EMblMum3iZUWoVK+pEZLqQMpBBPV5sipmwGJR7EqJT6HssYvZaHnVRUID3QmZVzAVzR10uqAtBDktBQ4uyTCCujj0/jApIqasrAO+5tk/AO8cXRqG6mh//FYBfZglzZOdISC0e9KSULH+1IRxjxU7IXUIGqdjNS3fUza3F8JJhR3JxDDhoarBBxXUWG5TsRobvbTV5Qmx39WxdF6pxD1q3tf9/rGjanAxlI9xn4HicpeMXFWlcVg7JvGBDEMA5H39S7B1MdZiPZrEAJHQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR10MB5894.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(136003)(39860400002)(346002)(396003)(366004)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(2906002)(31696002)(86362001)(7416002)(5660300002)(6916009)(316002)(66556008)(44832011)(4326008)(8676002)(8936002)(36756003)(66946007)(41300700001)(478600001)(6486002)(26005)(6506007)(66476007)(107886003)(38100700002)(6512007)(6666004)(2616005)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =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GtzWStORGJjbDRvUGlv?= =?utf-8?B?NVBEYndNMjdiVWZJQlU4L2ZaU0F5citlYTdiQUNxb2hQVlQxbXJZcmNNUWhG?= =?utf-8?B?R2ltMXRUaXlYUklxNmNEZDYxRzFOR1hqMFFOOVdnNW9qdmp3YlhjUUZVOHBU?= =?utf-8?B?amdBZVFjZ1lMVUdBOE5SNUFWSmp2cHJDRXNJZTcxRVIrb1N0Z25wdWFFL1Ir?= =?utf-8?B?Um4rVmhuZlRYRnJjSFVkTkhNTTZCcnNUR2tHbUxwVVB6eHVIclFLQnRrMEpH?= =?utf-8?B?SjRzdkNwNnV3bXlDZHF0NXdxdGhxSTRZMWlSR2JySWhMRFFMVEl1aVQ5L2FN?= =?utf-8?B?SkkySWhMelZnMmxnZ1JNV1c4c1BUdTQ5M1o5WTlYb211UjUyMHJRVzVidmpE?= =?utf-8?B?bFBRNzN2VStBSi9uQmJlMkZUM3ppUDBmalNnVjJlUUNpSTNwbnRocXlORzAz?= =?utf-8?B?NnJNODhta3I5N3J0RmJ2ZUlyMTd3aUl1MTNiY0VReUtmeEhZYWJORTJkbGs4?= =?utf-8?Q?1aptGc6XJkjYS82Y3faONr6SY5vT/De0vhXOM=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3468d15c-56a4-412e-c63c-08dbeba2a6f6 X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB5894.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2023 21:33:22.4195 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hz/phF2K/y0Tu995DtTnD3iyBpchAWRO5avIVm4UW7p8SMBUHfGACby/UbcgeHYLkgFa2+pJGc5WVnNfg68cUBrAdIJZw1KodxgQK5koyd8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB6567 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-22_16,2023-11-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 adultscore=0 malwarescore=0 spamscore=0 bulkscore=0 phishscore=0 mlxlogscore=558 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311220159 X-Proofpoint-GUID: _PHetifthwSWIAxzEfgeW4fxNjr-7tw9 X-Proofpoint-ORIG-GUID: _PHetifthwSWIAxzEfgeW4fxNjr-7tw9 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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]); Wed, 22 Nov 2023 13:34:38 -0800 (PST) La 22.11.2023 22:51, Christoph Lameter a scris: > > On Mon, 20 Nov 2023, Mihai Carabas wrote: > >> cpu_relax on ARM64 does a simple "yield". Thus we replace it with >> smp_cond_load_relaxed which basically does a "wfe". > > Well it clears events first (which requires the first WFE) and then > does a WFE waiting for any events if no events were pending. > > WFE does not cause a VMEXIT? Or does the inner loop of > smp_cond_load_relaxed now do 2x VMEXITS? > > KVM ARM64 code seems to indicate that WFE causes a VMEXIT. See > kvm_handle_wfx(). In KVM ARM64 the WFE traping is dynamic: it is enabled only if there are more tasks waiting on the same core (e.g. on an oversubscribed system). In arch/arm64/kvm/arm.c:  457 >-------if (single_task_running())  458 >------->-------vcpu_clear_wfx_traps(vcpu);  459 >-------else  460 >------->-------vcpu_set_wfx_traps(vcpu); This of course can be improved by having a knob where you can completly disable wfx traping by your needs, but I left this as another subject to tackle.