From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f200.google.com (mail-wr0-f200.google.com [209.85.128.200]) by kanga.kvack.org (Postfix) with ESMTP id 74BBB6B0038 for ; Sat, 15 Apr 2017 08:19:07 -0400 (EDT) Received: by mail-wr0-f200.google.com with SMTP id k14so11346798wrc.16 for ; Sat, 15 Apr 2017 05:19:07 -0700 (PDT) Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com. [209.85.128.194]) by mx.google.com with ESMTPS id o50si7362150wrc.147.2017.04.15.05.19.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Apr 2017 05:19:06 -0700 (PDT) Received: by mail-wr0-f194.google.com with SMTP id u18so15187430wrc.1 for ; Sat, 15 Apr 2017 05:19:05 -0700 (PDT) From: Michal Hocko Subject: Date: Sat, 15 Apr 2017 14:17:31 +0200 Message-Id: <20170415121734.6692-1-mhocko@kernel.org> In-Reply-To: <20170410110351.12215-1-mhocko@kernel.org> References: <20170410110351.12215-1-mhocko@kernel.org> Sender: owner-linux-mm@kvack.org List-ID: To: linux-mm@kvack.org Cc: Andrew Morton , Mel Gorman , Vlastimil Babka , Andrea Arcangeli , Jerome Glisse , Reza Arbab , Yasuaki Ishimatsu , qiuxishi@huawei.com, Kani Toshimitsu , slaoub@gmail.com, Joonsoo Kim , Andi Kleen , David Rientjes , Daniel Kiper , Igor Mammedov , Vitaly Kuznetsov , LKML Hi, here I 3 more preparatory patches which I meant to send on Thursday but forgot... After more thinking about pfn walkers I have realized that the current code doesn't check offline holes in zones. From a quick review that doesn't seem to be a problem currently. Pfn walkers can race with memory offlining and with the original hotplug impementation those offline pages can change the zone but I wasn't able to find any serious problem other than small confusion. The new hotplug code, will not have any valid zone, though so those code paths should check PageReserved to rule offline holes. I hope I have addressed all of them in these 3 patches. I would appreciate if Vlastimil and Jonsoo double check after me. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org