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 43D2FC38A02 for ; Fri, 28 Oct 2022 10:24:44 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3ffiUCvn1NxrgUFxvMygfhec6JBZ5S3YjAII0+dE99Q=; b=TYxZe+XINm+irK oo2vPcBXdrl5MG1LOLCFfjN/N/Ru60W/fZJLfkeT1Kkru1fqnBojWuEZPQDi2xSjW7y5gjj182ELc GRmlEwcnh6tPZGlMupr6lXIS8amFnBgOwPzQA0DrUSlCw1ZoZgx8BkZcco3kuge4Hbnx0JQXhI7ce uI3JSEB6ntGZ3e8BNFLBZBP2tp1Y1YuLRp4xZ7lNPZeq7dtBc26AmQrA61YirI0qIxr8GaB0vdo+d /Ke75ghazEEcFBGbFc4jWjqhKtm3cE1RclW9GGAhib2WhtW6FfsnL+6NcEGsEDa9X8t759nRUodMz yAzsgnoMT5rKkHnYxQig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ooMWj-00Gdnq-TK; Fri, 28 Oct 2022 10:23:49 +0000 Received: from out0.migadu.com ([94.23.1.103]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ooMWg-00Gdld-O2 for linux-arm-kernel@lists.infradead.org; Fri, 28 Oct 2022 10:23:48 +0000 Date: Fri, 28 Oct 2022 10:23:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1666952620; h=from:from:reply-to:subject:subject: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=L4OIthJifQ5swLs+ejUqtpsuyuxlkNQcRrSkG5lvVuU=; b=vxttRypFANLybcEOz+fXk4/ydf1CvcSqFUutaV/7xpJMPOb2OZ4PiEVY4zUSMWcHw26Zc5 q/g+CCWNjfxFxRy+CYfZl/2OqGAJKnj/dmLyGDt2KiupdcXSq8PPC5suvcsqloVUhO2a+a wNmoPX+2gFxpD5fxvVbo4twcmTwuO0U= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Quentin Perret Cc: Marc Zyngier , James Morse , Alexandru Elisei , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, kvmarm@lists.linux.dev, Will Deacon , Fuad Tabba , Vincent Donnefort Subject: Re: [PATCH 2/2] KVM: arm64: Redefine pKVM memory transitions in terms of source/target Message-ID: References: <20221028083448.1998389-1-oliver.upton@linux.dev> <20221028083448.1998389-3-oliver.upton@linux.dev> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221028_032346_961605_7D0EA548 X-CRM114-Status: GOOD ( 17.66 ) 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 Quentin, On Fri, Oct 28, 2022 at 09:57:04AM +0000, Quentin Perret wrote: > Hey Oliver, > > On Friday 28 Oct 2022 at 08:34:48 (+0000), Oliver Upton wrote: > > Perhaps it is just me, but the 'initiator' and 'completer' terms are > > slightly confusing descriptors for the addresses involved in a memory > > transition. Apply a rename to instead describe memory transitions in > > terms of a source and target address. > > Just to provide some rationale for the initiator/completer terminology, > the very first implementation we did of this used 'sender/recipient (or > something along those lines I think), and we ended up confusing > ourselves massively. The main issue is that memory doesn't necessarily > 'flow' in the same direction as the transition. It's all fine for a > donation or a share, but reclaim and unshare become funny. 'The > recipient of an unshare' can be easily misunderstood, I think. > > So yeah, we ended up with initiator/completer, which may not be the > prettiest terminology, but it was useful to disambiguate things at > least. I see, thanks for the background :) If I've managed to re-ambiguate the language here then LMK. Frankly, I'm more strongly motivated on the first patch anyway. -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel