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 83515C43141 for ; Thu, 14 Nov 2019 13:19:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5C66F2071F for ; Thu, 14 Nov 2019 13:19:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="HaqAJpF0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726655AbfKNNT3 (ORCPT ); Thu, 14 Nov 2019 08:19:29 -0500 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:24857 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726190AbfKNNT2 (ORCPT ); Thu, 14 Nov 2019 08:19:28 -0500 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, 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 CE9B1C432C3 for ; Thu, 14 Nov 2019 13:26:10 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 4269920725 for ; Thu, 14 Nov 2019 13:26:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="HaqAJpF0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4269920725 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 47DMgZ5Ym0zF7TY for ; Fri, 15 Nov 2019 00:26:02 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=redhat.com (client-ip=205.139.110.61; helo=us-smtp-delivery-1.mimecast.com; envelope-from=david@redhat.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="HaqAJpF0"; dkim-atps=neutral Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47DMX31RXwzF7Y4 for ; Fri, 15 Nov 2019 00:19:30 +1100 (AEDT) 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 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-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michal Hocko , David Hildenbrand , Pingfan Liu , linux-mm@kvack.org, Alexander Potapenko , Alexander Duyck , Stephen Rothwell , "Rafael J. Wysocki" , Pavel Tatashin , Anshuman Khandual , linuxppc-dev@lists.ozlabs.org, Mike Rapoport , Qian Cai , Dan Williams , Vlastimil Babka , Oscar Salvador , Greg Kroah-Hartman , Wei Yang , Arun KS , Andrew Morton , Mel Gorman Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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