From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH v4 1/5] vsock/virtio: limit the memory used per-socket Date: Tue, 3 Sep 2019 00:39:19 -0400 Message-ID: <20190903003823-mutt-send-email-mst@kernel.org> References: <20190729165056.r32uzj6om3o6vfvp@steredhat> <20190729143622-mutt-send-email-mst@kernel.org> <20190730093539.dcksure3vrykir3g@steredhat> <20190730163807-mutt-send-email-mst@kernel.org> <20190801104754.lb3ju5xjfmnxioii@steredhat> <20190801091106-mutt-send-email-mst@kernel.org> <20190801133616.sik5drn6ecesukbb@steredhat> <20190901025815-mutt-send-email-mst@kernel.org> <20190901061707-mutt-send-email-mst@kernel.org> <20190902095723.6vuvp73fdunmiogo@steredhat> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190902095723.6vuvp73fdunmiogo@steredhat> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Stefano Garzarella Cc: kvm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Stefan Hajnoczi , "David S. Miller" List-Id: virtualization@lists.linuxfoundation.org On Mon, Sep 02, 2019 at 11:57:23AM +0200, Stefano Garzarella wrote: > > > > Assuming we miss nothing and buffers < 4K are broken, > > I think we need to add this to the spec, possibly with > > a feature bit to relax the requirement that all buffers > > are at least 4k in size. > > > > Okay, should I send a proposal to virtio-dev@lists.oasis-open.org? How about we also fix the bug for now? -- MST From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B65C4C3A5A5 for ; Tue, 3 Sep 2019 04:39:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 90C8F21881 for ; Tue, 3 Sep 2019 04:39:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726341AbfICEjZ (ORCPT ); Tue, 3 Sep 2019 00:39:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36392 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbfICEjZ (ORCPT ); Tue, 3 Sep 2019 00:39:25 -0400 Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 89CBC8665A for ; Tue, 3 Sep 2019 04:39:25 +0000 (UTC) Received: by mail-qk1-f199.google.com with SMTP id y188so17748367qke.18 for ; Mon, 02 Sep 2019 21:39:25 -0700 (PDT) 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=QsFw6JbKR151rBeG65E8RZKx+pqxeiIfjKh1LzJnxMs=; b=uiM6FreCHhvwRFAI842BGKTE7ofxDQxRZX4iTKw1mYc6dZTUPkCreiCNmpQsMq3GB2 pJSlBp8X/dOs2vNTnsxMvswFTSdTSYzjZfH8GjApnT9QPbCi2wEmbtcQ7fYxREW3Y02e k8ZetS7BeU/giDJJO+MQFAaQyUVWCvobUWfkfMzIV+2kSzBQVKDY5gA4mAC1s3uIEk+1 UTVSrR4KwRZ4iFyy3fV+o9x5uyo3C/qxQxlddK4Xceux8L3vkVZpcRNYpTit55b+jGXl AE1zXX8y921bNzwkdTPBuzB+P28tJGd9w1033EVWjm+LBEJ2xXzLmn2HSg6TbIrG6kjg svBQ== X-Gm-Message-State: APjAAAUAw0gAm5yLQB4v7cm8EfBG+a/1htXKusanHsxZ2LaZK87roRvi bwDKtfcukwfCnMqV4AlK4R7zMzwB9z7OdxeByTbdvKejzjnRxMevDoGyoHDK8lcrB6kJjJ4BGpw X57VQ4ctZQ2cd X-Received: by 2002:a37:7f41:: with SMTP id a62mr5242888qkd.21.1567485564947; Mon, 02 Sep 2019 21:39:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwsb0LztYbIXObHR39awO6zBUHMeK0bLZrIDZ9QdvCXGsCAgbVutbSJHHLuwhraV6VG7qqbwA== X-Received: by 2002:a37:7f41:: with SMTP id a62mr5242876qkd.21.1567485564780; Mon, 02 Sep 2019 21:39:24 -0700 (PDT) Received: from redhat.com (bzq-79-180-62-110.red.bezeqint.net. [79.180.62.110]) by smtp.gmail.com with ESMTPSA id z72sm8508456qka.115.2019.09.02.21.39.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 21:39:24 -0700 (PDT) Date: Tue, 3 Sep 2019 00:39:19 -0400 From: "Michael S. Tsirkin" To: Stefano Garzarella Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Hajnoczi , "David S. Miller" , virtualization@lists.linux-foundation.org, Jason Wang , kvm@vger.kernel.org Subject: Re: [PATCH v4 1/5] vsock/virtio: limit the memory used per-socket Message-ID: <20190903003823-mutt-send-email-mst@kernel.org> References: <20190729165056.r32uzj6om3o6vfvp@steredhat> <20190729143622-mutt-send-email-mst@kernel.org> <20190730093539.dcksure3vrykir3g@steredhat> <20190730163807-mutt-send-email-mst@kernel.org> <20190801104754.lb3ju5xjfmnxioii@steredhat> <20190801091106-mutt-send-email-mst@kernel.org> <20190801133616.sik5drn6ecesukbb@steredhat> <20190901025815-mutt-send-email-mst@kernel.org> <20190901061707-mutt-send-email-mst@kernel.org> <20190902095723.6vuvp73fdunmiogo@steredhat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190902095723.6vuvp73fdunmiogo@steredhat> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Mon, Sep 02, 2019 at 11:57:23AM +0200, Stefano Garzarella wrote: > > > > Assuming we miss nothing and buffers < 4K are broken, > > I think we need to add this to the spec, possibly with > > a feature bit to relax the requirement that all buffers > > are at least 4k in size. > > > > Okay, should I send a proposal to virtio-dev@lists.oasis-open.org? How about we also fix the bug for now? -- MST