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 26462C433FE for ; Fri, 4 Nov 2022 09:03:26 +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: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J4mzRUt581wSn9gAM69F+NRgOExUwGLV3LS4cvy2KWg=; b=OWE1fy5OZxNFWh u/l0luoGfNY8lPZ8YSgzFJpdu6LB7zpMZe1k8cjUfrXN3dUDK7Q/C0UZwjf22bjEgFW8/Y2qmnlGi 2nQxcqr0oJkWFhdNHgRqhFpiPvmI8MQZd/I7XNVVfR9lkaw1W4n+/lgwV6VsUbAUbvXPXTh25ATXk vLhyxm3mWr9EO+RKCeFe3B3z8ymgQfo5Td2SGGpjcQlNO5pVxqV0EcRE7ChqofROwjkqDzYO6cr5B vzpwd9lXHJFCoXN6keox4OSEsegCC4/Q2fVJ55/qwtWtU9cbduU9JcVOHeiG98sI8PADGC/9nqOfE y5CACNRzZvZrTkYFzkmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqsaW-0031vD-Q5; Fri, 04 Nov 2022 09:02:08 +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 1oqsaT-0031uV-RD for linux-arm-kernel@lists.infradead.org; Fri, 04 Nov 2022 09:02:07 +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 696CB6204F; Fri, 4 Nov 2022 09:02:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BEDFDC433D6; Fri, 4 Nov 2022 09:02:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667552523; bh=Yh5vS5L3Rde1ahkwa98+4nboLu48uQmIDcVSpZQWfzg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jiDiZ4dpPYgqlqKsoPHwBxgGp/LhXYqHePdcW09s0Q9eqo2s8B3gxTCURP/W1Ycoq 15FecHOHF4YphOAb7+y3vpSQOZ4plLDOPeDNC7reQw1dVcHasil2rQ1C+2NaV2m9jm 4dmyP9khfAdugnC14BjrcHhI7MXt5T60QtczsiZ0ePZNAL8YGb/TNSSVZK+eUh+Xyt dxUJ4OtEB1nAkKnGVcswF3ad5IwTSkBpP1pAzacw2nNF4zxA5kUCAkt1XdXYYxuOQs nrb5AnI3pXFfHFTRHweNgziY1mKamEx+h4UccMX4nC2Xe288Ef/zw5iYR1strrj9AI yCVxC1/lnkY/Q== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oqsaP-003ift-Bj; Fri, 04 Nov 2022 09:02:01 +0000 Date: Fri, 04 Nov 2022 09:02:00 +0000 Message-ID: <86edujqeif.wl-maz@kernel.org> From: Marc Zyngier To: Usama Arif Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-doc@vger.kernel.org, virtualization@lists.linux-foundation.org, linux@armlinux.org.uk, yezengruan@huawei.com, catalin.marinas@arm.com, will@kernel.org, steven.price@arm.com, mark.rutland@arm.com, bagasdotme@gmail.com, fam.zheng@bytedance.com, liangma@liangbit.com, punit.agrawal@bytedance.com Subject: Re: [v2 0/6] KVM: arm64: implement vcpu_is_preempted check In-Reply-To: <20221104062105.4119003-1-usama.arif@bytedance.com> References: <20221104062105.4119003-1-usama.arif@bytedance.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: usama.arif@bytedance.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-doc@vger.kernel.org, virtualization@lists.linux-foundation.org, linux@armlinux.org.uk, yezengruan@huawei.com, catalin.marinas@arm.com, will@kernel.org, steven.price@arm.com, mark.rutland@arm.com, bagasdotme@gmail.com, fam.zheng@bytedance.com, liangma@liangbit.com, punit.agrawal@bytedance.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221104_020205_959155_04E35977 X-CRM114-Status: GOOD ( 17.47 ) 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 Fri, 04 Nov 2022 06:20:59 +0000, Usama Arif wrote: > > This patchset adds support for vcpu_is_preempted in arm64, which allows the guest > to check if a vcpu was scheduled out, which is useful to know incase it was > holding a lock. vcpu_is_preempted can be used to improve > performance in locking (see owner_on_cpu usage in mutex_spin_on_owner, > mutex_can_spin_on_owner, rtmutex_spin_on_owner and osq_lock) and scheduling > (see available_idle_cpu which is used in several places in kernel/sched/fair.c > for e.g. in wake_affine to determine which CPU can run soonest): Please refrain from reposting a series only two days after the initial one. One week is a minimum, and only if there is enough review comments to justify a respin (there were no valuable comments so far). Reposting more often only results in the review process being exponentially delayed. Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel