From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752299AbdGDJgA (ORCPT ); Tue, 4 Jul 2017 05:36:00 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:47077 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752192AbdGDJf7 (ORCPT ); Tue, 4 Jul 2017 05:35:59 -0400 Message-Id: <20170704093232.995040438@linutronix.de> User-Agent: quilt/0.63-1 Date: Tue, 04 Jul 2017 11:32:32 +0200 From: Thomas Gleixner To: LKML Cc: linux-mm@kvack.org, Andrey Ryabinin , Michal Hocko , Andrew Morton , Vlastimil Babka , Vladimir Davydov , Peter Zijlstra Subject: [patch V2 0/2] mm/memory_hotplug: Cure potential deadlocks vs. cpu hotplug lock Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrey reported a potential deadlock with the memory hotplug lock and the cpu hotplug lock. The following series addresses this by reworking the memory hotplug locking and fixing up the potential deadlock scenarios. Applies against Linus head. All preliminaries are merged there already Thanks, tglx --- include/linux/swap.h | 1 mm/memory_hotplug.c | 89 ++++++++------------------------------------------- mm/page_alloc.c | 2 - mm/swap.c | 11 ++++-- 4 files changed, 25 insertions(+), 78 deletions(-)