Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2358399imn; Mon, 1 Aug 2022 22:51:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR5d0pgdfZcduIlaLhb4WmuPya3hZgBg8eDKdJivBQUOhnEUSIy0lfxwPfy2bjDGg++bwVF4 X-Received: by 2002:a05:6a00:114f:b0:528:2c7a:634c with SMTP id b15-20020a056a00114f00b005282c7a634cmr19566172pfm.41.1659419518000; Mon, 01 Aug 2022 22:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659419517; cv=none; d=google.com; s=arc-20160816; b=SNGPeAp7L5UUZv1vlO+trT7vzhEoBW7+WzJsv0Oaz7VGYtdW/KUJHOrBeX/Tw9kQ6y bkLepOPF++uU1BZJiitvBTZ2sKnkNmsce0eh05/GTxJb0e0pFXhJXoemv5+xeXLm41Qe PYvZcSM97atK9+gCje6aaZhquTWiYuK4VU+gZXuE75cjtdwKen4U74a9UI+Lncs2PEG2 1dp5TSEDeh2joVis4v/dfhD+XZlc4guCoj4FIpxTNkQAKWYtViYHDbon5VqV4vKSE+mP JnuBlwWFk6kwrBeiXZZqL+RTWVfT/JVHgBwG4eAX9XTRmwVDn33wG5BPEkaHABjbIU1j CIGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=s0r/iXvFD+efR/87tJWYy1/jn0Av1q3wDPXPXDWSn7Q=; b=Zcc1cCJuDkYLSXl155iv7zUNMYsb8YjArwn/TzaNd6Cm59Ft6bR3x3ZecOpAGRTu9q TVcWrV5T2Rcd62fIVwWY3jI1AwTo1FPZdMJDz2oj2XN4MLNiqNUPAKI1QzMTVQGf9ez/ MyqYZIMZ3W28qgOUIs+ReJKwD1Umsq2IjiBeyR+3i3yZG6LKl5NPbtg1PhhB/8mc5IHF q5cPgl9jvv8r6ocGT4DG8HwmEEdbQjMQ3T55dK7uNv3+vU0KGOpXCiBW4SIVL9LrR7bK 1EEBDpY849N6CCeOJWUcKxGcPh2+D4LEQCH0FClr2gvGBQ7nezuIHD/WBWM4Ivfy7Su3 4KcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=EDUhQ89a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n124-20020a634082000000b00415ea6aca03si13883330pga.547.2022.08.01.22.51.44; Mon, 01 Aug 2022 22:51:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=EDUhQ89a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235773AbiHBFgJ (ORCPT + 99 others); Tue, 2 Aug 2022 01:36:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232964AbiHBFgH (ORCPT ); Tue, 2 Aug 2022 01:36:07 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 986B833A1D; Mon, 1 Aug 2022 22:35:59 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id C770B5FD18; Tue, 2 Aug 2022 08:35:56 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1659418556; bh=s0r/iXvFD+efR/87tJWYy1/jn0Av1q3wDPXPXDWSn7Q=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=EDUhQ89at6HrJPo/K+zklY7mnKfUpKDibHga9HiC4EWsfGOqyYRzyQ2eSZgUL259j p4h+4Sss+mwC18BLvpw4XLEbJWsTjAHeDEILAPAkaU+mixdu9oWa7cwrCF9gy07mWh FAaUmJbgPi9y6ZgegaKn9vbbciybt2ofA10PGSU84LjP/nHNIaxd/1DXrv2UHJdvKl 5FaQM921wGKlWFsOO5SMSQn+mPxTU4SmnpBxRFraJFpmtuikVa+AatTMNzI6raMdCU x75s6sQQWgJAHqfpsHIda8iX6BIpWMHr6S10taXBOHGoEInbZ7hjNPLtszLSMPmYUK zM7Mz77AujWaA== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mail.sberdevices.ru (Postfix) with ESMTP; Tue, 2 Aug 2022 08:35:51 +0300 (MSK) From: Arseniy Krasnov To: Vishnu Dasa CC: Stefano Garzarella , Bryan Tan , Pv-drivers , "David S. Miller" , "edumazet@google.com" , Jakub Kicinski , Paolo Abeni , Stefan Hajnoczi , "Michael S. Tsirkin" , "kys@microsoft.com" , "haiyangz@microsoft.com" , "sthemmin@microsoft.com" , "wei.liu@kernel.org" , Dexuan Cui , Krasnov Arseniy , "virtualization@lists.linux-foundation.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "kvm@vger.kernel.org" , kernel Subject: Re: [RFC PATCH v2 0/9] vsock: updates for SO_RCVLOWAT handling Thread-Topic: [RFC PATCH v2 0/9] vsock: updates for SO_RCVLOWAT handling Thread-Index: AQHYn/u277di/gNdd06E3+5muuhZo62R+OsAgAEl3oCAB9EsAIAAATsA Date: Tue, 2 Aug 2022 05:35:48 +0000 Message-ID: <29ac3503-87e9-7236-bc9b-b1ac50c19f04@sberdevices.ru> References: <19e25833-5f5c-f9b9-ac0f-1945ea17638d@sberdevices.ru> <20220727123710.pwzy6ag3gavotxda@sgarzare-redhat> In-Reply-To: Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.1.12] Content-Type: text/plain; charset="utf-8" Content-ID: <7A592B319152FC41B33B0F21D1CF39E2@sberdevices.ru> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2022/08/02 03:42:00 #20031579 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,T_SPF_TEMPERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDIuMDguMjAyMiAwODozMSwgVmlzaG51IERhc2Egd3JvdGU6DQo+IA0KPiANCj4+IE9uIEp1 bCAyNywgMjAyMiwgYXQgMTE6MDggUE0sIEFyc2VuaXkgS3Jhc25vdiA8QVZLcmFzbm92QHNiZXJk ZXZpY2VzLnJ1PiB3cm90ZToNCj4+DQo+PiBPbiAyNy4wNy4yMDIyIDE1OjM3LCBTdGVmYW5vIEdh cnphcmVsbGEgd3JvdGU6DQo+Pj4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