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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,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 06CBEC433DF for ; Fri, 16 Oct 2020 20:51:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AE6B321775 for ; Fri, 16 Oct 2020 20:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602881515; bh=XeMOPOo5GnRpe727ipDwkWxRApu06HT/BWeEVxaToh4=; h=Date:From:To:Subject:Reply-To:List-ID:From; b=Ag0ryta/6Zcc20Ufl5keOi9e+6xY0Bjms6FRxX6vuAjfXY8tBUzUa2viwsKZCdAsP vKI4t4NHwnaOAKevoiXLR/Ad77aYVvrrqV84fQS6PWSSJoc7TUOEfFq1JxVHeMaq3o 8GuqYlUHOSZFacwePGOLCMk+SHhheubAt6Lk0hzo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407372AbgJPUvz (ORCPT ); Fri, 16 Oct 2020 16:51:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:40562 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732579AbgJPUvx (ORCPT ); Fri, 16 Oct 2020 16:51:53 -0400 Received: from localhost.localdomain (c-71-198-47-131.hsd1.ca.comcast.net [71.198.47.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 16359216C4; Fri, 16 Oct 2020 20:51:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602881513; bh=XeMOPOo5GnRpe727ipDwkWxRApu06HT/BWeEVxaToh4=; h=Date:From:To:Subject:From; b=NrHdc+2Zz38X34bGt1lYhewa5RpNbpGmIja7rQWpsmzJc5Wcg+55cVT/IPuGYBcth VeHNxU55NDmmX/BW3eji9SzqtgwgrEJ7xrgBIUzey77XPmnuRsIiSHm56N2Cn2Hiik oNQotM/Xgmj6fLPuXxVRudkDVeoXileSiSsjQPB0= Date: Fri, 16 Oct 2020 13:51:51 -0700 From: akpm@linux-foundation.org To: alexander.h.duyck@linux.intel.com, cheloha@linux.ibm.com, dave.hansen@intel.com, david@redhat.com, haiyangz@microsoft.com, kys@microsoft.com, mgorman@techsingularity.net, mhocko@kernel.org, mhocko@suse.com, mm-commits@vger.kernel.org, mpe@ellerman.id.au, osalvador@suse.de, pankaj.gupta.linux@gmail.com, richard.weiyang@linux.alibaba.com, rppt@kernel.org, sthemmin@microsoft.com, vbabka@suse.cz, wei.liu@kernel.org, willy@infradead.org Subject: [merged] mm-memory_hotplug-update-comment-regarding-zone-shuffling.patch removed from -mm tree Message-ID: <20201016205151.mKdcMJjId%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: mm/memory_hotplug: update comment regarding zone shuffling has been removed from the -mm tree. Its filename was mm-memory_hotplug-update-comment-regarding-zone-shuffling.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: David Hildenbrand Subject: mm/memory_hotplug: update comment regarding zone shuffling As we no longer shuffle via generic_online_page() and when undoing isolation, we can simplify the comment. We now effectively shuffle only once (properly) when onlining new memory. Link: https://lkml.kernel.org/r/20201005121534.15649-6-david@redhat.com Signed-off-by: David Hildenbrand Reviewed-by: Wei Yang Acked-by: Michal Hocko Cc: Alexander Duyck Cc: Mel Gorman Cc: Michal Hocko Cc: Dave Hansen Cc: Vlastimil Babka Cc: Wei Yang Cc: Oscar Salvador Cc: Mike Rapoport Cc: Pankaj Gupta Cc: Haiyang Zhang Cc: "K. Y. Srinivasan" Cc: Matthew Wilcox Cc: Michael Ellerman Cc: Scott Cheloha Cc: Stephen Hemminger Cc: Wei Liu Signed-off-by: Andrew Morton --- mm/memory_hotplug.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) --- a/mm/memory_hotplug.c~mm-memory_hotplug-update-comment-regarding-zone-shuffling +++ a/mm/memory_hotplug.c @@ -858,13 +858,10 @@ int __ref online_pages(unsigned long pfn undo_isolate_page_range(pfn, pfn + nr_pages, MIGRATE_MOVABLE); /* - * When exposing larger, physically contiguous memory areas to the - * buddy, shuffling in the buddy (when freeing onlined pages, putting - * them either to the head or the tail of the freelist) is only helpful - * for maintaining the shuffle, but not for creating the initial - * shuffle. Shuffle the whole zone to make sure the just onlined pages - * are properly distributed across the whole freelist. Make sure to - * shuffle once pageblocks are no longer isolated. + * Freshly onlined pages aren't shuffled (e.g., all pages are placed to + * the tail of the freelist when undoing isolation). Shuffle the whole + * zone to make sure the just onlined pages are properly distributed + * across the whole freelist - to create an initial shuffle. */ shuffle_zone(zone); _ Patches currently in -mm which might be from david@redhat.com are