From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754425AbdIRMO0 (ORCPT ); Mon, 18 Sep 2017 08:14:26 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:37038 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752502AbdIRMOY (ORCPT ); Mon, 18 Sep 2017 08:14:24 -0400 X-Google-Smtp-Source: AOwi7QDICn/9bJhJusbOYGP2OIdQKfWC0L8Xq16EMfRqWh+3+veP5djlWuMOMHjjgQdw97UBVwgMNg== From: Michal Hocko To: Andrew Morton Cc: Dan Williams , LKML , , Johannes Thumshirn , Michal Hocko Subject: [PATCH 0/3] mm, memory_hotplug: fix few soft lockups in memory hotadd Date: Mon, 18 Sep 2017 14:14:07 +0200 Message-Id: <20170918121410.24466-1-mhocko@kernel.org> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Johannes has noticed few soft lockups when adding a large nvdimm device. All of them were caused by a long loop without any explicit cond_resched which is a problem for !PREEMPT kernels. The fix is quite straightforward. Just make sure that cond_resched gets called from time to time. Could you consider these for merging?