Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp368924imn; Wed, 3 Aug 2022 07:21:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR54hZ7SGk+GP8g5LH4fOfK/JxlQatBVBT9M8z4EggK8I6nKMXXuzKIU8MsbuBz0nE4Idpur X-Received: by 2002:a17:902:f60d:b0:16d:c444:550e with SMTP id n13-20020a170902f60d00b0016dc444550emr26080403plg.61.1659536469659; Wed, 03 Aug 2022 07:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659536469; cv=none; d=google.com; s=arc-20160816; b=esWJWrZgMZ1NBxQslVMGqQQ0JkJXF3yWPTKlDHsfX8RNvA3tH9KsWkNIcOVkBXvDzQ Bsn09T/f4ej2TrLHsKp7f2mawk6Sp9mjtdF4H+qkJQvwkt5gTEo/zAGoUztZ5lQpOq/Q CbitLom4HNMqoBRkIxSyvsleGhWDOl9oXhpS0zt6cfc/JWPRlVqneiL4ckjBSR9vfIqM kWcmIrmbAtl6RSCzqrSJ/myeXevJWF3LyHonAqJoP4LNn+z37timnrQYJgNXmvqUY71O h40/MC0EwXHdLR8Az9xojuN1Au1RhEOUQ63sBi/uRQrZDlJSI066CbByS8GUzv7c2QzA eUIw== 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:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=mAMukG4zOFmQ0mJDgVLGygbis/vBX4+8MbEbbiDl3IA=; b=tta9T3b0cDCLM9AKT5bRHol1FIDp3lJP50MM8egci815xc47b2Al0bBGW/z9f+Jfk9 v038t52Q86dyp+WVasJuWefb9BbVPt0/kPWf5j4YVrN0VIhmHJbwMuvLOvFTO1QVfxcc 6qoFOfRFKdiORIKWZD1UZzuGSJuCKNZXnY9JFSv9EUEWJYoXk3KNdrlZNbkLFDuy16XW E+dfUNSDVcEJVCWvTEOHmTxQjZdJJO/mKdmfkv8p70ZMPYaKpixU108OBsX8mnkBha8r 0ZT7s88weZf2qld9R6/K6z8FgNYvP5FbYwVWd7j3aGFpE1HDDiaWM5PtxV1iUfTXDtl4 cYVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=BebLyj5e; 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 i1-20020a17090332c100b0016edf7ced85si2947386plr.113.2022.08.03.07.20.54; Wed, 03 Aug 2022 07:21:09 -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=BebLyj5e; 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 S233330AbiHCNvU (ORCPT + 99 others); Wed, 3 Aug 2022 09:51:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237977AbiHCNvB (ORCPT ); Wed, 3 Aug 2022 09:51:01 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F809205E3; Wed, 3 Aug 2022 06:48:26 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id E6DFA5FD2E; Wed, 3 Aug 2022 16:48:23 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1659534503; bh=mAMukG4zOFmQ0mJDgVLGygbis/vBX4+8MbEbbiDl3IA=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=BebLyj5e7Y5KXiXpPs0JrRIufDwlxbC/JjpQwjuHLL+FBwf71SlHuX0qHgpUgjL9H 80uBQ+gQ+3Bj8pavJHhFP06JKpSIEhXfZ2bVbo4YQSXDS2C/AQbvO8rFDVHMmPkBEv HdaWaUSM/uJH9R/fau3Pp/ibEhRv6HnElQmMkZXN55CAjzkme2s/nvtM6mVf7t6vXY 5OWRLdWg+1bxdvJAPneCyecCC0QDOGBfxDvf207wFQmkQPw8LL3H0QhJXQ3TrBMWki 85XZKHUpOWW5xKZ6aFJmZ0gtges7c0PnanWDFHonWuMv/xg0gHlXoW1yFohp2B7SDE 16kzR2xaonDlw== Received: from S-MS-EXCH02.sberdevices.ru (S-MS-EXCH02.sberdevices.ru [172.16.1.5]) by mail.sberdevices.ru (Postfix) with ESMTP; Wed, 3 Aug 2022 16:48:19 +0300 (MSK) From: Arseniy Krasnov To: Stefano Garzarella , "David S. Miller" , "edumazet@google.com" , "Jakub Kicinski" , Paolo Abeni , "kys@microsoft.com" , "haiyangz@microsoft.com" , "sthemmin@microsoft.com" , "wei.liu@kernel.org" , Dexuan Cui , Stefan Hajnoczi , Bryan Tan , Vishnu Dasa , VMware PV-Drivers Reviewers , Krasnov Arseniy , "Arseniy Krasnov" CC: "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: [RFC PATCH v3 0/9] vsock: updates for SO_RCVLOWAT handling Thread-Topic: [RFC PATCH v3 0/9] vsock: updates for SO_RCVLOWAT handling Thread-Index: AQHYpz+pcvNrW+Wes06KlvYKyF5H+Q== Date: Wed, 3 Aug 2022 13:48:06 +0000 Message-ID: <2ac35e2c-26a8-6f6d-2236-c4692600db9e@sberdevices.ru> 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: <70E7F8912CC1A849924AB89DEEDC1AD3@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/03 07:41:00 #20041172 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,SPF_PASS 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 SGVsbG8sDQoNClRoaXMgcGF0Y2hzZXQgaW5jbHVkZXMgc29tZSB1cGRhdGVzIGZvciBTT19SQ1ZM T1dBVDoNCg0KMSkgYWZfdnNvY2s6DQogICBEdXJpbmcgbXkgZXhwZXJpbWVudHMgd2l0aCB6ZXJv Y29weSByZWNlaXZlLCBpIGZvdW5kLCB0aGF0IGluIHNvbWUNCiAgIGNhc2VzLCBwb2xsKCkgaW1w bGVtZW50YXRpb24gdmlvbGF0ZXMgUE9TSVg6IHdoZW4gc29ja2V0IGhhcyBub24tDQogICBkZWZh dWx0IFNPX1JDVkxPV0FUKGUuZy4gbm90IDEpLCBwb2xsKCkgd2lsbCBhbHdheXMgc2V0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