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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DB57C433EF for ; Mon, 27 Sep 2021 08:02:43 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A7DC060E73 for ; Mon, 27 Sep 2021 08:02:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A7DC060E73 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id B87F440664; Mon, 27 Sep 2021 08:02:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fbtoVZSZvkm4; Mon, 27 Sep 2021 08:02:40 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 9422C4029E; Mon, 27 Sep 2021 08:02:39 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 59D22C0011; Mon, 27 Sep 2021 08:02:39 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5C8EFC000D for ; Mon, 27 Sep 2021 08:02:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 29DDA607C9 for ; Mon, 27 Sep 2021 08:02:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IjX9VPM9q2PL for ; Mon, 27 Sep 2021 08:02:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by smtp3.osuosl.org (Postfix) with ESMTPS id 64EAC6075F for ; Mon, 27 Sep 2021 08:02:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632729754; 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=WYdrd60a/bnHP4r9+0eIKSKk9RqPVq0ho2CMR0yVDMk=; b=WhGdItLmVqLUdhY54ZfjY2bB9skzGGWyJW7jn4zIqsfh2XwFcCmyxBzLkAB2ptny+CLvER 8qAfT1siAf1fCPoCWW5KOsJf9UfrtvNHl7YeuCM7yQ54Bexxg6f2CTmfjOIMcqM91kqSYL TTFIA42rK2jcIPYswcLMpScFFeAYx2Y= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-565-E-PhM04ZMqS7zs1XRnhvbA-1; Mon, 27 Sep 2021 04:02:32 -0400 X-MC-Unique: E-PhM04ZMqS7zs1XRnhvbA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 96E88100CCC6; Mon, 27 Sep 2021 08:02:30 +0000 (UTC) Received: from localhost (unknown [10.39.192.180]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9A84160C13; Mon, 27 Sep 2021 08:02:21 +0000 (UTC) Date: Mon, 27 Sep 2021 10:02:20 +0200 From: Stefan Hajnoczi To: Max Gurtovoy Subject: Re: [PATCH 1/2] virtio: introduce virtio_dev_to_node helper Message-ID: References: <20210926145518.64164-1-mgurtovoy@nvidia.com> MIME-Version: 1.0 In-Reply-To: <20210926145518.64164-1-mgurtovoy@nvidia.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Cc: axboe@kernel.dk, linux-block@vger.kernel.org, kvm@vger.kernel.org, mst@redhat.com, israelr@nvidia.com, virtualization@lists.linux-foundation.org, hch@infradead.org, nitzanc@nvidia.com, oren@nvidia.com X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4081209970671279501==" Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" --===============4081209970671279501== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4fVC5S2hVXKz+qy4" Content-Disposition: inline --4fVC5S2hVXKz+qy4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 26, 2021 at 05:55:17PM +0300, Max Gurtovoy wrote: > Also expose numa_node field as a sysfs attribute. Now virtio device > drivers will be able to allocate memory that is node-local to the > device. This significantly helps performance and it's oftenly used in > other drivers such as NVMe, for example. >=20 > Signed-off-by: Max Gurtovoy > --- > drivers/virtio/virtio.c | 10 ++++++++++ > include/linux/virtio.h | 13 +++++++++++++ > 2 files changed, 23 insertions(+) Reviewed-by: Stefan Hajnoczi --4fVC5S2hVXKz+qy4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmFReocACgkQnKSrs4Gr c8gT+QgAg0wer2CY+2rCDIWjcsfv8yyqVsHfHaJ9TLzdC+6JHfOmPuyD99Fx8FzQ TbExtXhcMxGkHXDcOrH6Zn2Z/l6B8ki2htsnlVXM6O6eu6xvZ6AHl1g/DDxIqERQ iQ9IRW9PzjsI0X3vCGuBFk9/R+O7OW9WYOi486lAJpflkUt+YEl/1LZ7uebwiBC8 2fv8WaBYmjKMpsLC624qer0MHB7JNQCXOl6BjUvi0biYe28w03WKaVH2N9cPVVzF GoVCfCSuKGxdn8i2VdzYNdXAmkSlkYBHGKc/XfW6rZMaJ56YGlcE+cfiuwcs9P5U Ep65hjfmwiGrb94XyDrmov2vIaGlhQ== =Ex/F -----END PGP SIGNATURE----- --4fVC5S2hVXKz+qy4-- --===============4081209970671279501== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization --===============4081209970671279501==--