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.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 D3444C4727C for ; Wed, 30 Sep 2020 15:11:03 +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 702FC20657 for ; Wed, 30 Sep 2020 15:11:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 702FC20657 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.805.2703 (Exim 4.92) (envelope-from ) id 1kNdkr-0006eS-Qt; Wed, 30 Sep 2020 15:10:53 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 805.2703; Wed, 30 Sep 2020 15:10:53 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kNdkr-0006eL-MO; Wed, 30 Sep 2020 15:10:53 +0000 Received: by outflank-mailman (input) for mailman id 805; Wed, 30 Sep 2020 15:10:51 +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 1kNdkp-0006eG-SD for xen-devel@lists.xenproject.org; Wed, 30 Sep 2020 15:10:51 +0000 Received: from mail-wm1-f68.google.com (unknown [209.85.128.68]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 91e21081-749d-461e-96a7-b35f619e12ad; Wed, 30 Sep 2020 15:10:50 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id s13so2083349wmh.4 for ; Wed, 30 Sep 2020 08:10:50 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id c14sm3431002wrv.12.2020.09.30.08.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 08:10:49 -0700 (PDT) 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 1kNdkp-0006eG-SD for xen-devel@lists.xenproject.org; Wed, 30 Sep 2020 15:10:51 +0000 X-Inumbo-ID: 91e21081-749d-461e-96a7-b35f619e12ad Received: from mail-wm1-f68.google.com (unknown [209.85.128.68]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 91e21081-749d-461e-96a7-b35f619e12ad; Wed, 30 Sep 2020 15:10:50 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id s13so2083349wmh.4 for ; Wed, 30 Sep 2020 08:10:50 -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:user-agent; bh=Rfg3/AYJ8+XtVv5Ik3Z7ddzB2INQo5kWBkBjXqHmDJ8=; b=jgU3QOEwNmw7sL006TQ6D5IWL1DxqiJ3FqXtVDINuLMstLaTKla/kXlHNjaLVOoOpx vhoHUoTesszlz5D1zIHdbc5AKNwLHEuALc42SaWbjqhMKhglZ7a1SWoXLUj1uIMYkVIZ q4RGqq5Cq9V7UqwsGL+DWdxtIMgwg5enpDt7Xh4pqase96F6qfuqfP7Kufok8J1kXzMw RYe9KICkP9/imFnrYO7e2Uic48YLv+pRncXcaBgF4i9oe/cKu2xybULcNQ369YACDF0+ e22PKp2atbmTghRUixgsSCaietJinJDeVplj0oiJYIZxCnUQD0UhJmgoA8zPzcvKbOjj zFXA== X-Gm-Message-State: AOAM532wA3zdeuCx2txPmuY27wsnmWqL4UtnZ/XxAFJR4guRCeQiHQaS 9yKhLoeoTDQL/Xok/A2m574= X-Google-Smtp-Source: ABdhPJx8vOC+RsqmVLku26EUpZPqZ2rCUkfruQ1e12imlHKDCo0Vyd43ljU+xc6QgK5QEIoL1Uvjxw== X-Received: by 2002:a7b:c4d1:: with SMTP id g17mr3437487wmk.167.1601478650164; Wed, 30 Sep 2020 08:10:50 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id c14sm3431002wrv.12.2020.09.30.08.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 08:10:49 -0700 (PDT) Date: Wed, 30 Sep 2020 15:10:48 +0000 From: Wei Liu To: Olaf Hering Cc: xen-devel@lists.xenproject.org, Ian Jackson , Wei Liu Subject: Re: [PATCH v1] libxc/bitops: increase potential size of bitmaps Message-ID: <20200930151048.z2tct4wljb67qfdc@liuwe-devbox-debian-v2> References: <20200924180843.30452-1-olaf@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200924180843.30452-1-olaf@aepfle.de> User-Agent: NeoMutt/20180716 On Thu, Sep 24, 2020 at 08:08:43PM +0200, 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: Wei Liu