From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933019AbeEWM4J (ORCPT ); Wed, 23 May 2018 08:56:09 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:43985 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932747AbeEWM4D (ORCPT ); Wed, 23 May 2018 08:56:03 -0400 X-Google-Smtp-Source: AB8JxZop4BkNGdjRCi8S2P3LmT5wQbCI47ffrODxv3ZaKVeRbbYYrigi0/GaWfJtTIj3PuPgtT2QcQ== From: Michal Hocko To: Andrew Morton Cc: Oscar Salvador , Vlastimil Babka , Pavel Tatashin , Reza Arbab , Igor Mammedov , Vitaly Kuznetsov , LKML , Subject: [PATCH 0/2] few memory hotplug fixes Date: Wed, 23 May 2018 14:55:53 +0200 Message-Id: <20180523125555.30039-1-mhocko@kernel.org> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Resending with the mailing lists CCed - sorry for spamming] Hi Andrew, Oscar has reported two issue when playing with the memory hotplug [1][2]. The first one seems more serious and patch 1 should address it. In short we are overly optimistic about zone movable not containing any non-movable pages and after 72b39cfc4d75 ("mm, memory_hotplug: do not fail offlining too early") this can lead to a seemingly stuck (still interruptible by a signal) memory offline. Patch 2 fixes an over-eager warning which is not harmful but surely annoying. I know we are late in the release cycle but I guess both would be candidates for rc7. They are simple enough and they should be "obviously" correct. If you would like more time for them for testing then I am perfectly fine postponing to the next merge window of course. [1] http://lkml.kernel.org/r/20180523073547.GA29266@techadventures.net [2] http://lkml.kernel.org/r/20180523080108.GA30350@techadventures.net Michal Hocko (2): mm, memory_hotplug: make has_unmovable_pages more robust mm: do not warn on offline nodes unless the specific node is explicitly requested Diffstat include/linux/gfp.h | 2 +- mm/page_alloc.c | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-)