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.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY 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 F3F3BC433E7 for ; Sun, 18 Oct 2020 12:50:08 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 54727208B8 for ; Sun, 18 Oct 2020 12:50:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 54727208B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A157D6B0062; Sun, 18 Oct 2020 08:50:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 99F536B0068; Sun, 18 Oct 2020 08:50:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 865B06B006E; Sun, 18 Oct 2020 08:50:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0049.hostedemail.com [216.40.44.49]) by kanga.kvack.org (Postfix) with ESMTP id 563F86B0062 for ; Sun, 18 Oct 2020 08:50:07 -0400 (EDT) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id DFE451EE6 for ; Sun, 18 Oct 2020 12:50:06 +0000 (UTC) X-FDA: 77385028812.10.pipe99_1117cca2722e Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin10.hostedemail.com (Postfix) with ESMTP id B657416A0D1 for ; Sun, 18 Oct 2020 12:50:06 +0000 (UTC) X-HE-Tag: pipe99_1117cca2722e X-Filterd-Recvd-Size: 2801 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Sun, 18 Oct 2020 12:50:04 +0000 (UTC) X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=richard.weiyang@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0UCN7nX9_1603025394; Received: from localhost(mailfrom:richard.weiyang@linux.alibaba.com fp:SMTPD_---0UCN7nX9_1603025394) by smtp.aliyun-inc.com(127.0.0.1); Sun, 18 Oct 2020 20:49:55 +0800 Date: Sun, 18 Oct 2020 20:49:54 +0800 From: Wei Yang To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, virtualization@lists.linux-foundation.org, Andrew Morton , "Michael S . Tsirkin" , Jason Wang , Michal Hocko , Oscar Salvador , Pankaj Gupta , Wei Yang Subject: Re: [PATCH v1 00/29] virtio-mem: Big Block Mode (BBM) Message-ID: <20201018124954.GA51680@L-31X9LVDL-1304.local> Reply-To: Wei Yang References: <20201012125323.17509-1-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201012125323.17509-1-david@redhat.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Oct 12, 2020 at 02:52:54PM +0200, David Hildenbrand wrote: >virtio-mem currently only supports device block sizes that span at most >a single Linux memory block. For example, gigantic pages in the hypervisor >result on x86-64 in a device block size of 1 GiB - when the Linux memory >block size is 128 MiB, we cannot support such devices (we fail loading the >driver). Of course, we want to support any device block size in any Linux >VM. > >Bigger device block sizes will become especially important once supporting >VFIO in QEMU - each device block has to be mapped separately, and the >maximum number of mappings for VFIO is 64k. So we usually want blocks in >the gigabyte range when wanting to grow the VM big. > >This series: >- Performs some cleanups >- Factors out existing Sub Block Mode (SBM) >- Implements memory hot(un)plug in Big Block Mode (BBM) > >I need one core-mm change, to make offline_and_remove_memory() eat bigger >chunks. > >This series is based on "next-20201009" and can be found at: > git@gitlab.com:virtio-mem/linux.git virtio-mem-dbm-v1 > I am trying to apply this patch set, while found I can't 'git fetch' this repo. Is there any other repo I would apply this patch set? -- Wei Yang Help you, Help me