[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161124123546.2727086b.cornelia.huck@de.ibm.com>
Date: Thu, 24 Nov 2016 12:35:46 +0100
From: Cornelia Huck <cornelia.huck@...ibm.com>
To: Mark Rutland <mark.rutland@....com>
Cc: linux-kernel@...r.kernel.org, dave@...olabs.net, dbueso@...e.de,
dvyukov@...gle.com, jasowang@...hat.com, kvm@...r.kernel.org,
mst@...hat.com, netdev@...r.kernel.org, paulmck@...ux.vnet.ibm.com,
virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH 2/3] vringh: kill off ACCESS_ONCE()
On Thu, 24 Nov 2016 10:25:13 +0000
Mark Rutland <mark.rutland@....com> wrote:
> Despite living under drivers/ vringh.c is also used as part of the userspace
> virtio tools. Before we can kill off the ACCESS_ONCE()definition in the tools,
> we must convert vringh.c to use {READ,WRITE}_ONCE().
>
> This patch does so, along with the required include of <linux/compiler.h> for
> the relevant definitions. The userspace tools provide their own definitions in
> their own <linux/compiler.h>.
>
> Signed-off-by: Mark Rutland <mark.rutland@....com>
> Cc: Jason Wang <jasowang@...hat.com>
> Cc: Michael S. Tsirkin <mst@...hat.com>
> Cc: kvm@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> Cc: netdev@...r.kernel.org
> Cc: virtualization@...ts.linux-foundation.org
> ---
> drivers/vhost/vringh.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Cornelia Huck <cornelia.huck@...ibm.com>
Powered by blists - more mailing lists