Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1297584pxf; Fri, 12 Mar 2021 06:42:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7NyNLQXvQ1yFQN4ZElLMd8sE26tYbY43ohP+lCP2W4EcGW9Wz8NWvGrIu7ZVQz68aJAyF X-Received: by 2002:a17:906:2504:: with SMTP id i4mr9057289ejb.115.1615560153023; Fri, 12 Mar 2021 06:42:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615560153; cv=none; d=google.com; s=arc-20160816; b=lwzpQLNayHvRATCoO9XGTMK3frrPl4wWiAk5Ha+OrM77tKiZOvwEGVzmAPr9hkFU1L 0+pKWo06jHEBPDYMlbGqwOb0xtjnmof+IhQMIWI9k21cIfhksGuHy9EIqlYG/gIT0JPG 1yWmBv1wwSYOznSMn+wVs39m0QUgsMU5tu/AU98HA/BwxpbHKkVEqL9xMuhanez1jzVQ GfiE/ihNi14GlpFu/eJYhBET5I7Gzcu+RGdRHIwud89qH0idcGXazueXrPOpzanoMcvV esrKrKpJcC9mHR/H9Avmt5jy7cTfXA6Bh/ehvB7XJmFqHVJi+fIovQETJIuAtGZ2JUrB qjCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UHFz+ZfMKEJbP5t9K2bCk5hCYslzNNC+cpLu7ln61Mg=; b=mzKCFwxSrCu7ZCpYmw7I8+bU6gzN+jmLrL9TZwKDhMZZPon9U49y1UFV5uAwsza2nQ fmflNK2BTneCZ9J/a4VezxWZDvb4CFO8OCgZJmZJi9pX9f1dyOvbe9RQPnOmU9Hao1si r+fmUN07Xc+ICcECdJmoCgF8dcS8wozm1XuwiQHhEFQKmkRyn06Ev7olQT/3zh0iuW5t 0eIwDFbyhKolcPBwtxsEkMShwWn7ikqmpP4Y1FNhyHjtSD6JKmwvbu6ai68e9jokOQlp JcvnlqnFNraV6P04iGYdzygV7KeB6Kgwa0fPpqEwvJTcspBHrn0zbZ0Fy5AaSisWng1y ybKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="e/LLKnXC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s19si4391647edc.275.2021.03.12.06.42.10; Fri, 12 Mar 2021 06:42:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="e/LLKnXC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231336AbhCLOlL (ORCPT + 99 others); Fri, 12 Mar 2021 09:41:11 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:26917 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229728AbhCLOkx (ORCPT ); Fri, 12 Mar 2021 09:40:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615560052; 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=UHFz+ZfMKEJbP5t9K2bCk5hCYslzNNC+cpLu7ln61Mg=; b=e/LLKnXCTPu71GWT3YBPiLzffzy7ojHs83LivvDizEg5K5EdgcJtHaSr6sSOHIcL7ncKaX Pv8TKdmYgptST9XMXtkXAURpjMbeTjZl3gAQUICSbLQeqC+APh0nxtzkQN0o3Fd03LFYQb AJV5xZJeiJrRkYZ1qESQDHX4sqqRiJo= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-273-a7ch9hM_MS27RGpXEMXyXw-1; Fri, 12 Mar 2021 09:40:50 -0500 X-MC-Unique: a7ch9hM_MS27RGpXEMXyXw-1 Received: by mail-wr1-f72.google.com with SMTP id h30so11270152wrh.10 for ; Fri, 12 Mar 2021 06:40:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=UHFz+ZfMKEJbP5t9K2bCk5hCYslzNNC+cpLu7ln61Mg=; b=FWpB8uqpT5Rpt0AY/Glu4mTGau/1CqYwiavocvbj0qthmAjDutY4sqhy1LklHpcmgE DhVbx24HD1oaJQphQoaRtF5vwNxsVTfQ4arlTrcbWhFgXWEqdu7jaC3Ijac34PVooJcY yZD0bdEI7W6klNcEQaPM9bBJrNXB7j1c/IZd9kJxcMspuznH0X8diV05A+JDLDuuJSP9 pXUidtJbl0aK7Rhs2o/gbZCByATRV2K+YL6wnIXJsDB865aubc+EtoV9xPd8RnYh7Vsu 4Re9LntHZtFJl19n5VXO5+Y5m/pssQl8Jg7yiq38SYVfFYYXZXBc5E1DwV1SPw1Hh75I ClZA== X-Gm-Message-State: AOAM532uNLCAcbNseGSGTok3M6w72P8ZufIe3hCfok3byyKtNC76nzmu RfksNwN+GW62MD9NjOv1ldfGmHzrswoboxiU+68OsPM3eBMejxD3tvGT31+2sHw2WhdEqxQkRAR cwc0du2guenlUzfQ96Upd6QPu X-Received: by 2002:adf:f841:: with SMTP id d1mr14157284wrq.36.1615560049592; Fri, 12 Mar 2021 06:40:49 -0800 (PST) X-Received: by 2002:adf:f841:: with SMTP id d1mr14157254wrq.36.1615560049394; Fri, 12 Mar 2021 06:40:49 -0800 (PST) Received: from steredhat (host-79-34-249-199.business.telecomitalia.it. [79.34.249.199]) by smtp.gmail.com with ESMTPSA id q17sm3268632wrv.25.2021.03.12.06.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 06:40:49 -0800 (PST) Date: Fri, 12 Mar 2021 15:40:46 +0100 From: Stefano Garzarella To: Arseny Krasnov Cc: Stefan Hajnoczi , "Michael S. Tsirkin" , Jason Wang , "David S. Miller" , Jakub Kicinski , Jorgen Hansen , Andra Paraschiv , Colin Ian King , Norbert Slusarek , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stsp2@yandex.ru, oxffffaa@gmail.com Subject: Re: [RFC PATCH v6 02/22] af_vsock: separate wait data loop Message-ID: <20210312144046.dnthewowhmkvfotd@steredhat> References: <20210307175722.3464068-1-arseny.krasnov@kaspersky.com> <20210307175905.3464610-1-arseny.krasnov@kaspersky.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20210307175905.3464610-1-arseny.krasnov@kaspersky.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 07, 2021 at 08:59:01PM +0300, Arseny Krasnov wrote: >This moves wait loop for data to dedicated function, because later it >will be used by SEQPACKET data receive loop. While moving the code >around, let's update an old comment. > >Signed-off-by: Arseny Krasnov >--- > net/vmw_vsock/af_vsock.c | 156 +++++++++++++++++++++------------------ > 1 file changed, 84 insertions(+), 72 deletions(-) Reviewed-by: Stefano Garzarella