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.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 75343C433DF for ; Mon, 15 Jun 2020 14:07:39 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4F476207D3 for ; Mon, 15 Jun 2020 14:07:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4F476207D3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jkplj-0006hP-UA; Mon, 15 Jun 2020 14:07:23 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jkplj-0006hI-F1 for xen-devel@lists.xenproject.org; Mon, 15 Jun 2020 14:07:23 +0000 X-Inumbo-ID: 877fdd64-af11-11ea-b7bb-bc764e2007e4 Received: from esa1.hc3370-68.iphmx.com (unknown [216.71.145.142]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 877fdd64-af11-11ea-b7bb-bc764e2007e4; Mon, 15 Jun 2020 14:07:22 +0000 (UTC) Authentication-Results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: kaEaQlfDnEA6486OL4gyF5vpHFV0EcEVq4roblVPlWPQ0fuNyCzmpUHvv1TYpwYQ7tIeb1hOSV RLvG/AR3p/4CxQyClDIZtjGOxycgAjznOygfKzWe3I1EN+cRSDi7rTgnnVhjCjGnVr8+o3Mbyb x+VDG+ayVqUKRkVF5+pH3MPjV0Pa/vqWFk1sDjKqWAf0lC6gAPpJiPe6uJpq8lz5AIPkjQW+ct AHb/+vBZvzjdEde4RZlIrhJCOI45gyijb9VWzVCYWAXRXXgXBZMeYjQFaU22yE8oy5gYg9o42F U34= X-SBRS: 2.7 X-MesageID: 20363608 X-Ironport-Server: esa1.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.73,514,1583211600"; d="scan'208";a="20363608" From: Ian Jackson MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Message-ID: <24295.32909.686801.47956@mariner.uk.xensource.com> Date: Mon, 15 Jun 2020 15:07:09 +0100 To: "paul@xen.org" Subject: RE: [PATCH] tools/libxengnttab: correct size of allocated memory In-Reply-To: <00f701d64009$c2c10000$48430000$@xen.org> References: <20200520083501.31704-1-jgross@suse.com> <24261.17303.413916.29534@mariner.uk.xensource.com> <20200520155621.GN54375@Air-de-Roger> <05eac1e1-63a3-1d03-9f91-d0ffdcc44f23@suse.com> <00f701d64009$c2c10000$48430000$@xen.org> X-Mailer: VM 8.2.0b under 24.5.1 (i686-pc-linux-gnu) X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: =?iso-8859-1?Q?'J=FCrgen_Gro=DF'?= , "xen-devel@lists.xenproject.org" , 'Wei Liu' , Roger Pau Monne Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Paul Durrant writes ("RE: [PATCH] tools/libxengnttab: correct size of allocated memory"): > > -----Original Message----- > > From: Xen-devel On Behalf Of Jürgen Groß > > Sent: 11 June 2020 16:26 > > To: Roger Pau Monné ; Ian Jackson > > Cc: xen-devel@lists.xenproject.org; Wei Liu > > Subject: Re: [PATCH] tools/libxengnttab: correct size of allocated memory > > > > On 20.05.20 17:56, Roger Pau Monné wrote: > > > On Wed, May 20, 2020 at 03:49:59PM +0100, Ian Jackson wrote: > > >> Juergen Gross writes ("[PATCH] tools/libxengnttab: correct size of allocated memory"): > > >>> The size of the memory allocated for the IOCTL_GNTDEV_MAP_GRANT_REF > > >>> ioctl() parameters is calculated wrong, which results in too much > > >>> memory allocated. > > >> > > >> Added Roger to CC. > > >> > > >> Firstly, > > >> > > >> Reviewed-by: Ian Jackson > > > > > > For the FreeBSD bits: > > > > > > Reviewed-by: Roger Pau Monné > > > > Any reason the patch didn't go in yet? > > > > I'd be quite happy for this to go in now, consider it > > Release-acked-by: Paul Durrant Thanks. I tried to apply this but it doesn't seem to apply to staging. Jürgen, would you care to rebase/resend ? Thanks, Ian.