Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp736793imu; Tue, 20 Nov 2018 06:15:00 -0800 (PST) X-Google-Smtp-Source: AJdET5fQl0mW7azBfm5YZxjLQTEcIodBI66XbT4HPcQhMLlOR2hWCtF/khXywvXtDjf6oBX2aqg+ X-Received: by 2002:a62:c302:: with SMTP id v2mr2349198pfg.155.1542723300110; Tue, 20 Nov 2018 06:15:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542723300; cv=none; d=google.com; s=arc-20160816; b=vnmo5w/gzv+LM4DcrECKm45sPdKKFLbJKT75tW5am7LDPiuhZ/9b0yLMaKWhCMmFos TemHf6wYIILWN/5T/yJSgyXSLIwscRPZmMptCi3hhNQsvxkWVBTFFquqg1Me/K28Vyxt plc4jfLQoHND4RR3UWMa6vDcv06vJc1tTZZxKvNNAwmGSPKUlA8/rPd5k32PbmtLXR+t 8faobbrxcwZfkx9om5UdlS6tO2+UaqlnxuN5bLtkVvvcns7sFpfoyEldBT5Yc/GANeN5 YCZ74GNB9IAkkAgO+cAcOTazns8QcBmzwT75k1IhLE5SXZg34Xu/ZB2fRdEEVF4Q4rNC tbLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=JFsZJxYies0VGg5z4SMN2RiGbcQQaHv35oB392a4Oro=; b=uFuUiK/UnEmXiRa+wEkRB0d5EalliNQS5AAiDXwyf3K/xsuaG1TUo0ApOYHndJHcco onbU/v64vd0Tje+3UtpXEQOfZrldPlSumRJOqgowVKWqcAZG03g3yDoYV13qVICGOmxL i/fln3RPcuU75HALfLc6PN1Ld7+RadcnxYzT3O9k3eHauySWD4UvKGrePM3OyxacGdgb pVJs+dwx4RgEI+fJlYl2XbkN1cAVc/h7Pzscm/aZc87dvAQYh8HqZexVqoryhroWynC8 Qx08IHtZTkx0Wg3LM+0+530GehqbwMFoMq8PP6MdhYW0ufd7GtEYrffopJBApa1ekIRN 16tg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si42744169pgg.463.2018.11.20.06.14.45; Tue, 20 Nov 2018 06:15:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729161AbeKUAlr (ORCPT + 99 others); Tue, 20 Nov 2018 19:41:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57760 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725995AbeKUAlr (ORCPT ); Tue, 20 Nov 2018 19:41:47 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 440D036809; Tue, 20 Nov 2018 14:12:27 +0000 (UTC) Received: from localhost (ovpn-8-19.pek2.redhat.com [10.72.8.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6DBFF648B9; Tue, 20 Nov 2018 14:12:24 +0000 (UTC) Date: Tue, 20 Nov 2018 22:12:21 +0800 From: Baoquan He To: Michal Hocko Cc: Hugh Dickins , Vlastimil Babka , pifang@redhat.com, David Hildenbrand , linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, aarcange@redhat.com, Mel Gorman Subject: Re: Memory hotplug softlock issue Message-ID: <20181120141221.GA7386@MiWiFi-R3L-srv> References: <20181119125121.GK22247@dhcp22.suse.cz> <20181119141016.GO22247@dhcp22.suse.cz> <20181119173312.GV22247@dhcp22.suse.cz> <20181119205907.GW22247@dhcp22.suse.cz> <20181120015644.GA5727@MiWiFi-R3L-srv> <3f1a82a8-f2aa-ac5e-e6a8-057256162321@suse.cz> <20181120135803.GA3369@MiWiFi-R3L-srv> <20181120140524.GI22247@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181120140524.GI22247@dhcp22.suse.cz> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 20 Nov 2018 14:12:27 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/20/18 at 03:05pm, Michal Hocko wrote: > > Yes, I applied Hugh's patch 8 hours ago, then our QE Ping operated on > > that machine, after many times of hot removing/adding, the endless > > looping during mirgrating is not seen any more. The test result for > > Hugh's patch is positive. I even suggested Ping increasing the memory > > pressure to "stress -m 250", it still succeeded to offline and remove. > > > > So I think this patch works to solve the issue. Thanks a lot for your > > help, all of you. > > This is a great news! Thanks for your swift feedback. I will go and try > to review Hugh's patch soon. Yeah. Thanks a lot for your help on debugging and narrowing down to position the cause of the issue, Michal, really appreciated! > > Meanwhile we found sometime onlining page may not add back all memory > > blocks on one memory board, then hot removing/adding them will cause > > kernel panic. I will investigate further and collect information, see if > > it's a kernel issue or udev issue. > > It would be great to get a report in a new email thread. Sure, will do after reproducing and inforamtion arranging. Thanks Baoquan