[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1586932784-16315-1-git-send-email-anshuman.khandual@arm.com>
Date: Wed, 15 Apr 2020 12:09:42 +0530
From: Anshuman Khandual <anshuman.khandual@....com>
To: linux-mm@...ck.org, linux-arm-kernel@...ts.infradead.org
Cc: akpm@...ux-foundation.org, catalin.marinas@....com,
will@...nel.com, mark.rutland@....com,
Anshuman Khandual <anshuman.khandual@....com>,
Michal Hocko <mhocko@...e.com>,
Dan Williams <dan.j.williams@...el.com>,
David Hildenbrand <david@...hat.com>,
Yu Zhao <yuzhao@...gle.com>,
Hsin-Yi Wang <hsinyi@...omium.org>,
Thomas Gleixner <tglx@...utronix.de>,
Steve Capper <steve.capper@....com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] arm64/hotplug: Process MEM_OFFLINE and MEM_CANCEL_OFFLINE events
This series improves arm64 memory event notifier (hot remove) robustness by
enabling it to detect potential problems (if any) in the future. But first
it enumerates memory isolation failure reasons that can be sent across a
notifier. This series does not go beyond arm64 to explore if these failure
reason codes could be used in other existing registered memory notifiers.
Please do let me know if there is any other potential use cases, will be
happy to incorporate next time around. Also should we add similar failure
reasons for online_pages() as well ?
This series has been tested on arm64, boot tested on x86 and build tested
on multiple other platforms.
This series applies on v5.7-rc1.
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Michal Hocko <mhocko@...e.com>
Cc: Dan Williams <dan.j.williams@...el.com>
Cc: David Hildenbrand <david@...hat.com>
Cc: Yu Zhao <yuzhao@...gle.com>
Cc: Hsin-Yi Wang <hsinyi@...omium.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Catalin Marinas <catalin.marinas@....com>
Cc: Will Deacon <will@...nel.com>
Cc: Mark Rutland <mark.rutland@....com>
Cc: Steve Capper <steve.capper@....com>
Cc: linux-arm-kernel@...ts.infradead.org
Cc: linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org
Anshuman Khandual (2):
mm/hotplug: Enumerate memory range offlining failure reasons
arm64/hotplug: Process MEM_OFFLINE and MEM_CANCEL_OFFLINE
arch/arm64/mm/mmu.c | 52 ++++++++++++++++++++++++++++++++++++++----
drivers/base/memory.c | 9 ++++++++
include/linux/memory.h | 27 ++++++++++++++++++++++
mm/memory_hotplug.c | 24 ++++++++++++-------
4 files changed, 99 insertions(+), 13 deletions(-)
--
2.20.1
Powered by blists - more mailing lists