From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AA534A0545; Tue, 24 May 2022 23:11:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8DDAF400EF; Tue, 24 May 2022 23:11:37 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 4EB3F400D6 for ; Tue, 24 May 2022 23:11:36 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 28E7532001AB; Tue, 24 May 2022 17:11:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 24 May 2022 17:11:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1653426693; x= 1653513093; bh=p93zOWAd4wG4RnLMhznTth9MECxehk00X3OqOX8rmhA=; b=j xvqnDq6aCPiGGgL6l5NyxmvbQ6SfoK7RuWdOFhm3ZlrWu1X1g69shSHlM//6kr16 KhVwIWgdQV3f16lQFagXYSvMVLcLx/3j/rrm0lSSht6OUCb+VXQ+BQZcS8pMDIKz RUnkBMQevGP+BP94q1B5r88w+gE5GN7OBP4HDx8MEpoZJ2zinbe+qCftN6EXHrN6 cEdFwjrbzEMJuwCYxFzevPsVXJfz8USD/FsznvQQ/oQYcuzgVMRttFXoxiEGrFa2 KghhipW+kLPNwYMXLTrfTBqg9UXpM4cV77ZA2mfUEEx/dNwb82wizYd5iaMcDe5u BIDRWCQBKvh5hd+7I/8dA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1653426693; x= 1653513093; bh=p93zOWAd4wG4RnLMhznTth9MECxehk00X3OqOX8rmhA=; b=p HGNDXACCEPRoVNlMr1/+FFroS4sBHIeoG+y+dGqHzSeXZHFUpVoGFlKQOJ4jCwXP VGG6fJHbQteLNU+r3FPv6OYXOS4LBigzMo30wpQXMv6lhwl0f0ybR41Rgs9NdyzK HW8QsVRF6isai83zp5WEyVaddalbAimJoB1m+XioyGc8Lo/SNtq0ihr8wsjBtxGh Zzp6zYvIdvf8WwptESebiPM3tNlXabZ+NE8i2JZazkvUlWdI0TLkivWtTHo6ZiLk 3MFeX22aTOpWhlo0unexnnKINPYzR1RfqBlJGPaYxksaHhuJeJJ+mXePQWXdAu1B e014Ec3WykqCmAMpDi7Jg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrjeefgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 24 May 2022 17:11:32 -0400 (EDT) From: Thomas Monjalon To: Elena Agostini Cc: dev@dpdk.org Subject: Re: [PATCH] gpu/cuda: GPU_REGISTERED to distinguish GPU memory CPU mapped Date: Tue, 24 May 2022 23:11:25 +0200 Message-ID: <3919469.iTQEcLzFEP@thomas> In-Reply-To: <20220429141423.1374380-1-eagostini@nvidia.com> References: <20220429135251.1373996-1-eagostini@nvidia.com> <20220429141423.1374380-1-eagostini@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 29/04/2022 16:14, eagostini@nvidia.com: > From: Elena Agostini > > Enable GPU_REGISTERED flag in gpu/cuda driver in the memory list. > If a GPU memory address CPU mapped is freed before being > unmapped, CUDA driver unmaps it before freeing the memory. > > Signed-off-by: Elena Agostini Applied, thanks.