From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752730AbeAJSQF (ORCPT + 1 other); Wed, 10 Jan 2018 13:16:05 -0500 Received: from mail-pg0-f54.google.com ([74.125.83.54]:40344 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752139AbeAJSQD (ORCPT ); Wed, 10 Jan 2018 13:16:03 -0500 X-Google-Smtp-Source: ACJfBosSTKZyqH1Q4VeXzhRHa1cHV7w0PLQP4ediitnn0wliORjw8UZuL7AdVbQEC+rvG7vq7Nf+wg== Subject: Re: [PATCH] ptr_ring: document usage around __ptr_ring_peek To: "Michael S. Tsirkin" , linux-kernel@vger.kernel.org Cc: David Miller , jakub.kicinski@netronome.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, netdev@vger.kernel.org, Jason Wang References: <1515592856-16578-1-git-send-email-mst@redhat.com> From: John Fastabend Message-ID: <643b42bf-5887-c3ce-5aec-713d13c0c9cb@gmail.com> Date: Wed, 10 Jan 2018 10:15:47 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1515592856-16578-1-git-send-email-mst@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 01/10/2018 06:03 AM, Michael S. Tsirkin wrote: > This explains why is the net usage of __ptr_ring_peek > actually ok without locks. > > Signed-off-by: Michael S. Tsirkin > --- > > John - I think this is more or less what you meant. Is that right? Yep, thanks for following up. Acked-by: John Fastabend