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=-5.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 8A903C38A24 for ; Thu, 7 May 2020 10:49:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 610C9208E4 for ; Thu, 7 May 2020 10:49:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ku3k30xU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726774AbgEGKtK (ORCPT ); Thu, 7 May 2020 06:49:10 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:55636 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726558AbgEGKtJ (ORCPT ); Thu, 7 May 2020 06:49:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588848548; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6TNeBJCWo89yL05TnTjwH8dcSijsVuy4nyFBYGcILew=; b=Ku3k30xU4JJa7SkNphRcMujHM5DLwpkR+zAoWF70DBEWNydWjBqJLSov52DBYZHiUDJWIh JACKSRYkQpPapY0izw+/qsSBJzbd/7Y2FxoAIHwKBnjFPkQAIgx5Rj5m9et+WzCC2gVmbA aKScTAw4m12IA8tOYAhVzGuJCstMZ8o= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-204-gmn19o__OZWABHTDSmYpPw-1; Thu, 07 May 2020 06:49:06 -0400 X-MC-Unique: gmn19o__OZWABHTDSmYpPw-1 Received: by mail-wm1-f71.google.com with SMTP id s12so3135276wmj.6 for ; Thu, 07 May 2020 03:49:06 -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; bh=6TNeBJCWo89yL05TnTjwH8dcSijsVuy4nyFBYGcILew=; b=h0jCA7Mp6uZIOiPCmyItMjG4dpGI/gfHsZKxDiBfeou3m1HPYIihhxo2OL6peJipAr yYnvstpDFLXSZQye6RRfWeDX6kJGJ58fKxbVrLgRcyB1I/069QbAYwtsdtzbpVso6oY1 Cxm1+nBC0n8ppGrHWdTsX9dYQSLVbVkm1WY6SuzSwQTxx8RwN6cEqONX0NIrgGvNL/HE tXfU4LEyVC0NAc9Kmtw5w9S657URACPmfo7/oYxLMEcuDu80q6sCTidBW0lOfZwCHmoo fD5Bsme3ErMCwrwMPuORtPFEvhXtcn2Kpk6/qZBgxhcV4Ln9VtzH96bmB4pWYYLZ3qF+ 6Rjg== X-Gm-Message-State: AGi0PuZINnFKv2ie5uuXD52DqrZYaR74iXC+uc0d3IUi8QQHoZxIJYEi SKnXPjRIf67AQ9XFkgaQzv8cAayge3bHK9/pKuekAt99tnSPES9kVogRaT4n13c0WWARlbQv0vd DpOMaLoR/HWsZa4VxCqFYWY6r X-Received: by 2002:a5d:4389:: with SMTP id i9mr15542863wrq.374.1588848545316; Thu, 07 May 2020 03:49:05 -0700 (PDT) X-Google-Smtp-Source: APiQypJZNIpWHFCESwDQSs7+PMHyNfIcO5F7JwrpmUBB61yG1/h7N4ojiGa6GBHhpnaJfh9mBO8omA== X-Received: by 2002:a5d:4389:: with SMTP id i9mr15542847wrq.374.1588848545108; Thu, 07 May 2020 03:49:05 -0700 (PDT) Received: from redhat.com (bzq-109-66-7-121.red.bezeqint.net. [109.66.7.121]) by smtp.gmail.com with ESMTPSA id n6sm5623197wrt.58.2020.05.07.03.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2020 03:49:04 -0700 (PDT) Date: Thu, 7 May 2020 06:48:59 -0400 From: "Michael S. Tsirkin" To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, virtio-dev@lists.oasis-open.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, Michal Hocko , Andrew Morton , Sebastien Boeuf , Samuel Ortiz , Robert Bradford , Luiz Capitulino , Pankaj Gupta , teawater , Igor Mammedov , "Dr . David Alan Gilbert" , Alexander Duyck , Alexander Potapenko , Anshuman Khandual , Anthony Yznaga , Dan Williams , Dave Young , Jason Wang , Johannes Weiner , Juergen Gross , Konrad Rzeszutek Wilk , Len Brown , Mel Gorman , Michal Hocko , Mike Rapoport , Oscar Salvador , Oscar Salvador , Pavel Tatashin , Pavel Tatashin , Pingfan Liu , Qian Cai , "Rafael J. Wysocki" , "Rafael J. Wysocki" , Stefan Hajnoczi , Vlastimil Babka , Wei Yang Subject: Re: [PATCH v3 00/15] virtio-mem: paravirtualized memory Message-ID: <20200507064834-mutt-send-email-mst@kernel.org> References: <20200507103119.11219-1-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200507103119.11219-1-david@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 07, 2020 at 12:31:04PM +0200, David Hildenbrand wrote: > This series is based on latest linux-next. The patches are located at: > https://github.com/davidhildenbrand/linux.git virtio-mem-v3 > > Patch #1 - #10 where contained in v2 and only contain minor modifications > (mostly smaller fixes). The remaining patches are new and contain smaller > optimizations. Looks like you lost some acks, in particular I'd like to preserve Andrew Morton's ack. > Details about virtio-mem can be found in the cover letter of v2 [1]. A > basic QEMU implementation was posted yesterday [2]. > > [1] https://lkml.kernel.org/r/20200311171422.10484-1-david@redhat.com > [2] https://lkml.kernel.org/r/20200506094948.76388-1-david@redhat.com > > v2 -> v3: > - "virtio-mem: Paravirtualized memory hotplug" > -- Include "linux/slab.h" to fix build issues > -- Remember the "region_size", helpful for patch #11 > -- Minor simplifaction in virtio_mem_overlaps_range() > -- Use notifier_from_errno() instead of notifier_to_errno() in notifier > -- More reliable check for added memory when unloading the driver > - "virtio-mem: Allow to specify an ACPI PXM as nid" > -- Also print the nid > - Added patch #11-#15 > > Cc: Sebastien Boeuf > Cc: Samuel Ortiz > Cc: Robert Bradford > Cc: Luiz Capitulino > Cc: Pankaj Gupta > Cc: teawater > Cc: Igor Mammedov > Cc: Dr. David Alan Gilbert > > David Hildenbrand (15): > virtio-mem: Paravirtualized memory hotplug > virtio-mem: Allow to specify an ACPI PXM as nid > virtio-mem: Paravirtualized memory hotunplug part 1 > virtio-mem: Paravirtualized memory hotunplug part 2 > mm: Allow to offline unmovable PageOffline() pages via > MEM_GOING_OFFLINE > virtio-mem: Allow to offline partially unplugged memory blocks > mm/memory_hotplug: Introduce offline_and_remove_memory() > virtio-mem: Offline and remove completely unplugged memory blocks > virtio-mem: Better retry handling > MAINTAINERS: Add myself as virtio-mem maintainer > virtio-mem: Add parent resource for all added "System RAM" > virtio-mem: Drop manual check for already present memory > virtio-mem: Unplug subblocks right-to-left > virtio-mem: Use -ETXTBSY as error code if the device is busy > virtio-mem: Try to unplug the complete online memory block first > > MAINTAINERS | 7 + > drivers/acpi/numa/srat.c | 1 + > drivers/virtio/Kconfig | 17 + > drivers/virtio/Makefile | 1 + > drivers/virtio/virtio_mem.c | 1962 +++++++++++++++++++++++++++++++ > include/linux/memory_hotplug.h | 1 + > include/linux/page-flags.h | 10 + > include/uapi/linux/virtio_ids.h | 1 + > include/uapi/linux/virtio_mem.h | 208 ++++ > mm/memory_hotplug.c | 81 +- > mm/page_alloc.c | 26 + > mm/page_isolation.c | 9 + > 12 files changed, 2314 insertions(+), 10 deletions(-) > create mode 100644 drivers/virtio/virtio_mem.c > create mode 100644 include/uapi/linux/virtio_mem.h > > -- > 2.25.3