Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2539733imi; Mon, 25 Jul 2022 01:00:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vFfv2LHYFLZzZhdQGqWSudokbLE3XtPKs0Ye2I2RDePMEAL0yX9QMlE1NOJik41LwUebd8 X-Received: by 2002:a05:6402:28a1:b0:43b:a0d5:d30a with SMTP id eg33-20020a05640228a100b0043ba0d5d30amr11808791edb.278.1658736000119; Mon, 25 Jul 2022 01:00:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658736000; cv=none; d=google.com; s=arc-20160816; b=q40TThEkIFl1bkid3nn+TYGKxX0oGX2dz4iJbLNtx4jaZzRYi7mqsW3UtL59kKy2Nk rRlV1Grb7qiHnqg6kdr401tPN8gQzWfU9Pg+PbpFXn0CI1xvFfKWicgmIJkaVr8RU3pO +wj+LbmmQvOtCnww+L/ZfWc4tjch/mOtFD4/teMuD1gc8gbdtBWLe5s9r46amx8vTe5R JRgsyGIn7nR9Nal4JMIV7gpeuB9GsZigpIoE4BkAZ3e+YSyRt/70Cd/aApHowJLL0QAd bYuHwO70mO4l0rhPJAYyhiAr59aHm/DZb5fm8h5JXWKuwi1as3V+TCqmvusfL/wPTS3P 7eLw== 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=Jlqwz8Mf0SX+vFvr8bsEZwYRgZFGP2xbuZquqH8x8g4=; b=Ik5d1oGhAhqvbWaNBwtvTLe5xiLHkALoSFEHQ6jG/7SLMPpUibMJXmcE2eK6npf6Qz eBLcl6LRLAv2ghWFknrFF84th000V4/QwdVJ4AeP9N1U91Rajyi44t8wHwUBN+QUWSkG oL/JbpuBICiq0H6RLCv7G6s2B27V6NtGm/i8njcYMvXY6Z7PHD7U1zcjMQ7bP1ZFtzPB IezceypBPyS374iB08TWFiCliaj+0hY9F8Q9INwBhaiaHEehiBpagYdxSmdAQGznFyO4 OujjsxUj5Pyk1v/DXxTPYyaXXuaxqV7kxi89cDI1tDecIklyJTkrM+vyGH3zbuHoVFJB vxSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=BEI7uEFQ; 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 du12-20020a17090772cc00b0072ed9ed7276si7904848ejc.203.2022.07.25.00.59.35; Mon, 25 Jul 2022 01:00:00 -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=BEI7uEFQ; 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 S232301AbiGYHyq (ORCPT + 99 others); Mon, 25 Jul 2022 03:54:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbiGYHyn (ORCPT ); Mon, 25 Jul 2022 03:54:43 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C0EC12ADE; Mon, 25 Jul 2022 00:54:37 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id 85C7D5FD0C; Mon, 25 Jul 2022 10:54:33 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1658735673; bh=Jlqwz8Mf0SX+vFvr8bsEZwYRgZFGP2xbuZquqH8x8g4=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=BEI7uEFQVoAxVHxTvWWYevPIQjqaIvHrKIRspdaYFgpKxFafEMFZXVcgtZR/WAKFC 7YIxpUYoG8mMaEn77lC1W8S3C/EpcivFR3h+uO1yGDkrWTEzfVERFj4mUu2UoKZMT7 d9jgfNqCo9E94slr2h1KcV4HVZnPmbrhjiVpxbgb9dqAJhukv/4cOU/rJu84kWrLEn ckrMz7C+fMhSzA9NOs147nWzeHX6nfgvvQjMfZ6okAFH0i9mbKgxqYcb3ysexkYYwJ JHFlJRm2D7Yuqc6LHc3cxMQ4pLpKtPIIYwp4JzysxaP3etbozUD9DDkkeseQRyc3FH SAiup18Qa9Vng== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mail.sberdevices.ru (Postfix) with ESMTP; Mon, 25 Jul 2022 10:54:24 +0300 (MSK) From: Arseniy Krasnov To: Stefano Garzarella , "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 , Arseniy Krasnov , Krasnov Arseniy 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 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+5muuhZow== Date: Mon, 25 Jul 2022 07:54:05 +0000 Message-ID: <19e25833-5f5c-f9b9-ac0f-1945ea17638d@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: 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/07/25 03:52:00 #19956163 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 dWx0IFNPX1JDVkxPV0FUKGUuZy4gbm90IDEpLCBwb2xsKCkgd2lsbCBhbHdheXMgc2V0IFBPTExJ TiBhbmQNCiAgIFBPTExSRE5PUk0gYml0cyBpb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