Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1891921ybe; Thu, 12 Sep 2019 00:54:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrONgzmZ+DsJB/iX/DmXw7oW2D9t26NcuYHsmxZi8IfZsfgO7TuG89reI4CriBLH9tuh08 X-Received: by 2002:a17:906:3d6:: with SMTP id c22mr2228962eja.269.1568274851182; Thu, 12 Sep 2019 00:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568274851; cv=none; d=google.com; s=arc-20160816; b=hsY3zadaTsjYvRkNoZOUTWS9xqhLDodKiCqMBS28vKEuOVzziMLRlMnbg/RBsVyY1D n5V+w0dD/PCDRc7kkAWAAVBIwobEIRpEwdq5xTUX7w7GXY8S5a8VOwjVXTkB3JPNeUxB RpUPOdCHE2XNVqEklJ7LQbGhjosMyhXkVpc+LUzuwZsT0TnA/k2GxU7v5dX+8uhZCkRv pdWkJ9VIwRNpalMtzCl+YB+6uBb6ZMW6euOxUiXfWKeSHKWPVDa5jSykqvvUeN8JGgle Mfk2CJ6U4SVTpag+SvM+9rS4APl5NY2a3IH/0nUUbQHrgwDYjaDMQJMbaRJcipgbe9Ec fXwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=8g2TsyZxZ/MSU2IBa5Pnm6CEQZtnSiQBudacGRWdf8I=; b=ARBk39lrmbkMVu0KG4o9RFjNDUyk/3EoeV4M0fEq2PcssdjvdhH1dQEvgCW03FB7yF Om4v+V8V7K93DQymsdpNa2PMYN/wYJ3qGGHxiTgeJJyZcmbCTXatvNos/yhI6AdhrdqH K9c+Aezv0dweA27eUIBrApFDdtvUJEDsj9RPNmSzFxZzI5m7ng3l6zZ9ydHppzL4Q29/ 8SyvvbA3oVQtRu2W5hb0HpreOyOjeYNIjqYnqqhCLBhEPgWcoAwe9cI2r5nezDHntSUU Y7q+b4yrMbXGqdIvlNLI8M5n3hiq3h9x9T3sq2Rb2PJHXPvkvJutbOPqH32NQyyw7ccW 1zoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c3si11401628edq.336.2019.09.12.00.53.47; Thu, 12 Sep 2019 00:54:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728983AbfILHvI (ORCPT + 99 others); Thu, 12 Sep 2019 03:51:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37976 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbfILHvH (ORCPT ); Thu, 12 Sep 2019 03:51:07 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A2D11C04BD48; Thu, 12 Sep 2019 07:51:07 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-47.ams2.redhat.com [10.36.116.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 11B30100195F; Thu, 12 Sep 2019 07:51:07 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 488F616E05; Thu, 12 Sep 2019 09:51:06 +0200 (CEST) Date: Thu, 12 Sep 2019 09:51:06 +0200 From: Gerd Hoffmann To: David Riley Cc: dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, David Airlie , Daniel Vetter , Gurchetan Singh , =?utf-8?B?U3TDqXBoYW5l?= Marchesin , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/2] drm/virtio: Use vmalloc for command buffer allocations. Message-ID: <20190912075105.pcxe4e2celupu3dj@sirius.home.kraxel.org> References: <20190829212417.257397-1-davidriley@chromium.org> <20190911181403.40909-3-davidriley@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190911181403.40909-3-davidriley@chromium.org> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 12 Sep 2019 07:51:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 11, 2019 at 11:14:03AM -0700, David Riley wrote: > Userspace requested command buffer allocations could be too large > to make as a contiguous allocation. Use vmalloc if necessary to > satisfy those allocations. Both applied to drm-misc-next. thanks, Gerd