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=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 92AB4CA9EA0 for ; Tue, 22 Oct 2019 08:39:06 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4797920679 for ; Tue, 22 Oct 2019 08:39:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Lph5n35/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4797920679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id ED5EA6B0003; Tue, 22 Oct 2019 04:39:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E86FD6B0006; Tue, 22 Oct 2019 04:39:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D75776B0007; Tue, 22 Oct 2019 04:39:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0232.hostedemail.com [216.40.44.232]) by kanga.kvack.org (Postfix) with ESMTP id B220E6B0003 for ; Tue, 22 Oct 2019 04:39:05 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 4BF3F5827 for ; Tue, 22 Oct 2019 08:39:05 +0000 (UTC) X-FDA: 76070770650.13.back31_4f460aa5e5528 X-HE-Tag: back31_4f460aa5e5528 X-Filterd-Recvd-Size: 4238 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by imf11.hostedemail.com (Postfix) with ESMTP for ; Tue, 22 Oct 2019 08:39:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571733544; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SFYknoKQFMX0hhh6UnVTokInEwZQ4JKZZbG8bKbotuk=; b=Lph5n35/UTonyrAqEU3KCWPLIwTecXGsbWJWceOH6YU+VKYMOTg0xqlXXNgHXjMSyRE19Y V5CYQxCeVk+ziv2d0azQl1sNSMXm+VLZMvn9C2pMxj0Wfp7DufLKyYj8SAibM5kf6oYwGW rqVYTxINQ7KouavQmurM8hGDf3EGY6E= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-100-6kCtObFAOMOWzjyIiNI7UA-1; Tue, 22 Oct 2019 04:38:59 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8A85A800D4E; Tue, 22 Oct 2019 08:38:57 +0000 (UTC) Received: from [10.36.117.11] (ovpn-117-11.ams2.redhat.com [10.36.117.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5DDFF60856; Tue, 22 Oct 2019 08:38:54 +0000 (UTC) Subject: Re: [PATCH v2 0/2] mm: Memory offlining + page isolation cleanups From: David Hildenbrand To: Michal Hocko Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Alexander Duyck , Andrew Morton , Anshuman Khandual , Dan Williams , Mel Gorman , Mike Rapoport , Mike Rapoport , Oscar Salvador , Pavel Tatashin , Pavel Tatashin , Pingfan Liu , Qian Cai , Vlastimil Babka , Wei Yang References: <20191021172353.3056-1-david@redhat.com> <25d3f071-3268-298b-e0c8-9c307d1015fe@redhat.com> <20191022080835.GZ9379@dhcp22.suse.cz> <1f56744d-2c22-6c12-8fe8-4a71e791c467@redhat.com> <20191022082131.GC9379@dhcp22.suse.cz> Organization: Red Hat GmbH Message-ID: <72f796fc-b2de-0bbc-b6d9-c5bf5fe62099@redhat.com> Date: Tue, 22 Oct 2019 10:38:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: 6kCtObFAOMOWzjyIiNI7UA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable 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 22.10.19 10:32, David Hildenbrand wrote: > On 22.10.19 10:21, Michal Hocko wrote: >> On Tue 22-10-19 10:15:07, David Hildenbrand wrote: >>> On 22.10.19 10:08, Michal Hocko wrote: >>>> On Tue 22-10-19 08:52:28, David Hildenbrand wrote: >>>>> On 21.10.19 19:23, David Hildenbrand wrote: >>>>>> Two cleanups that popped up while working on (and discussing) virtio= -mem: >>>>>> https://lkml.org/lkml/2019/9/19/463 >>>>>> >>>>>> Tested with DIMMs on x86. >>>>>> >>>>>> As discussed with michal in v1, I'll soon look into removing the use >>>>>> of PG_reserved during memory onlining completely - most probably >>>>>> disallowing to offline memory blocks with holes, cleaning up the >>>>>> onlining+offlining code. >>>>> >>>>> BTW, I remember that ZONE_DEVICE pages are still required to be set >>>>> PG_reserved. That has to be sorted out first. >>>> >>>> Do they? >>> >>> Yes, especially KVM code :/ >> >> Details please? >> Oh, and I think you might be wondering "how can we have RAM without a=20 memmap in the guest", see https://lwn.net/Articles/778240/ --=20 Thanks, David / dhildenb