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=-8.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 05350C4363D for ; Thu, 24 Sep 2020 20:13:09 +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 749A92395B for ; Thu, 24 Sep 2020 20:13:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="HuZJzrpy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 749A92395B Authentication-Results: mail.kernel.org; dmarc=fail (p=reject 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 1kLXbU-0004Gl-LL; Thu, 24 Sep 2020 20:12:32 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kLXbT-0004Gg-1A for xen-devel@lists.xenproject.org; Thu, 24 Sep 2020 20:12:31 +0000 X-Inumbo-ID: d81b798d-beb0-42b2-8b87-43d82b6bf2d5 Received: from esa4.hc3370-68.iphmx.com (unknown [216.71.155.144]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id d81b798d-beb0-42b2-8b87-43d82b6bf2d5; Thu, 24 Sep 2020 20:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1600978349; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=WoQZrQ2l6TjS9Bk8ZH97gqP5o7DPCZrwWTSxTVMUM4E=; b=HuZJzrpyWOiIW3L6x+aKh0K8DJqZ89qDOCGHeslJ6YdpLAS6MbiA5a3w UHFUJUThqPMq6EclE8tEqIbWrdKrmSV0vkAhwaTW/FWTL2KjyiTxpUrsU DToCvrT/wD+bNBG/+n/UDB/YmC03o0PuZU8g8D4SuCBtJUqMc+lwuISKz U=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: CnwPBH9+dIagOHXb2aNwUQ9NoiZs/eKTX6arEa7aGXWpqHnrN3UGW1mfklaS1sFnvQgrKwbfcw 43qoQauELsz25DR8JqXbSUvXf9hEEj8MC7zk4rCXNVwRwkIKGiqcJSxwSJ5EpvtpkaxHQy+jJM mbg3bSRgNizWdDYX7zFisGYy1zEGMPjNouenwOOQ0NjCGft+VzqKrb/5xqpjFHEpm0B33bnkgF s5nwpBhYKDyuiuwBZTqoel+vaK1022eC1BCmym/dd+pu4CDTZHG/1AyLJSBnefU5l1kcUIFGfa pwM= X-SBRS: None X-MesageID: 28524920 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.77,299,1596513600"; d="scan'208";a="28524920" Subject: Re: [PATCH v1] libxc/bitops: increase potential size of bitmaps To: Olaf Hering , CC: Ian Jackson , Wei Liu References: <20200924180843.30452-1-olaf@aepfle.de> From: Andrew Cooper Message-ID: Date: Thu, 24 Sep 2020 21:12:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200924180843.30452-1-olaf@aepfle.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Language: en-GB X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To FTLPEX02CL05.citrite.net (10.13.108.178) 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: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On 24/09/2020 19:08, Olaf Hering wrote: > If the bitmap is used to represent domU pages, the amount of memory is > limited to 8TB due to the 32bit value. Adjust the code to use 64bit > values as input. All callers already use some form of 64bit as input, > so no further adjustment is required. > > Signed-off-by: Olaf Hering Acked-by: Andrew Cooper I definitely should have pushed harder to do this the first time around...