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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 47183C432C3 for ; Thu, 14 Nov 2019 13:19:30 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D9F122071B for ; Thu, 14 Nov 2019 13:19:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="HaqAJpF0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D9F122071B 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 4B97E6B0003; Thu, 14 Nov 2019 08:19:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4690B6B0005; Thu, 14 Nov 2019 08:19:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 30B096B0006; Thu, 14 Nov 2019 08:19:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0085.hostedemail.com [216.40.44.85]) by kanga.kvack.org (Postfix) with ESMTP id 1AC486B0003 for ; Thu, 14 Nov 2019 08:19:29 -0500 (EST) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id BB14A824999B for ; Thu, 14 Nov 2019 13:19:28 +0000 (UTC) X-FDA: 76154939616.04.thumb63_52b6668d8c347 X-HE-Tag: thumb63_52b6668d8c347 X-Filterd-Recvd-Size: 4067 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Thu, 14 Nov 2019 13:19:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573737567; 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; bh=DzLYkRszegqqW9y6TySH5Na1v7DLZhrGRv6iPZCzz2w=; b=HaqAJpF0g6OeRsy2h/3DJje95H7lTyaScHoDzWz+MMy6RvUp+3LxAsBt6Rn0f+Fx+DXoav 0+2m7W4+ahPA0csY9JHHTCpD90DuXKeaR+46x1ERQmp8HYJxcfoahDBjOgm9YRAhSzhyea rMftONrAd0/6colxAOSUbv5NHZKjtSs= 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-350-yhF_a1gEMSSlfy_JVwRXzg-1; Thu, 14 Nov 2019 08:19:24 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3A114184B9F1; Thu, 14 Nov 2019 13:19:21 +0000 (UTC) Received: from t460s.redhat.com (ovpn-117-13.ams2.redhat.com [10.36.117.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 488E310375FC; Thu, 14 Nov 2019 13:19:12 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, David Hildenbrand , Alexander Duyck , Alexander Potapenko , Andrew Morton , Anshuman Khandual , Arun KS , Dan Williams , Greg Kroah-Hartman , Mel Gorman , Michael Ellerman , Michal Hocko , Mike Rapoport , Oscar Salvador , Pavel Tatashin , Pingfan Liu , Qian Cai , "Rafael J. Wysocki" , Stephen Rothwell , Vlastimil Babka , Wei Yang Subject: [PATCH v2 0/2] mm: remove the memory isolate notifier Date: Thu, 14 Nov 2019 14:19:09 +0100 Message-Id: <20191114131911.11783-1-david@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: yhF_a1gEMSSlfy_JVwRXzg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 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: This is the MM part of =09https://lkml.org/lkml/2019/10/31/487 "We can get rid of the memory isolate notifier by switching to balloon compaction in powerpc's CMM (Collaborative Memory Management). The memory isolate notifier was only necessary to allow to offline memory blocks that contain inflated/"loaned" pages - which also possible when the inflated pages are movable (via balloon compaction). [...]" Michael queued the POWERPC bits that remove the single user, but I am missing ACKs for the MM bits. I think it makes sense to let these two patches also go via Michael's tree, to avoid collissions. Thoughts? v1 -> v2: (MM bits) - "mm: remove the memory isolate notifier" -- Remove another stale comment -- Minor code cleanup David Hildenbrand (2): mm: remove the memory isolate notifier mm: remove "count" parameter from has_unmovable_pages() drivers/base/memory.c | 19 ----------------- include/linux/memory.h | 27 ------------------------ include/linux/page-isolation.h | 4 ++-- mm/memory_hotplug.c | 2 +- mm/page_alloc.c | 21 +++++++------------ mm/page_isolation.c | 38 ++++------------------------------ 6 files changed, 14 insertions(+), 97 deletions(-) --=20 2.21.0