Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4928899pxu; Thu, 10 Dec 2020 08:43:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJzunYNmD0cBNP4EwRCnyU3ykfdGuXR7UP4Been2fu0dLi3HEZ0h97WzoG5u+27UYTxQ7dxo X-Received: by 2002:a50:ee1a:: with SMTP id g26mr7772972eds.68.1607618584141; Thu, 10 Dec 2020 08:43:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607618584; cv=none; d=google.com; s=arc-20160816; b=f+ae0/GImscpyl2VGIBZtKQACFYMuBpmUUiD3hx6EEC1X+QfplHnyGGD6kknRq01Tt EmBLSNQJG/gxAZAeAyyZHIoAu0DIDLSPgeliG2Y05c3Gj7TIZ+4LINvDPBrqJy488IJc 7IwfXfrGc/dd0ctFArGql7wm1nWPQ6DOQCwceSBSf0n+YahXLMdNEXKTwQHKKRxYTACB 7JfesnDJIkjz8sJWAybK1xmZ73+uQK1IBPjAfEy8LiAX0dirk1JigLICzYbEt2j+FB3E nWikLEaeSht8JTQQdJiQAu2QW6rdRFBWCx9YFeQ1wEwoUGiB+omX6q/0HFaS8Wplpv58 /Hug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=RJD2T1g8/nxwUsTmVqdzmHIj9q0Uk8ThERMX7w4WHg0=; b=rwfaKLiiB6ywGeA2rURTEnH3ZC15BA+5e1RXaREVSixPdRSakQqvv0NUjePAaiDUoW or84sk+NNDrqYnHppS6FT61Ku8uQLL1YBU4zQnxjksXpj4zfkD/kwmrW9o4r8tu97Dj4 o+TG4c7XyPo0iavX0f59m0Uvp6efeAskFj0XhLtXDMlI+p0FohK5asCJTVtUof19dS0P IVgRnqehStH7OV4uuUbLey+PFlwTnZx7ML9EU/v6Cf7KbXz4vtK8skE5Tv4u/BBNqZfH 6cqUAbrKaoUzHBINqh5WUwYwwqgsvP3wYAajIydERSQu6TJZ/UgXkirgjMfcXKQnbSZB hCiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fy24si2815002ejb.348.2020.12.10.08.42.38; Thu, 10 Dec 2020 08:43:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391494AbgLJQk1 (ORCPT + 99 others); Thu, 10 Dec 2020 11:40:27 -0500 Received: from foss.arm.com ([217.140.110.172]:52440 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391274AbgLJQj7 (ORCPT ); Thu, 10 Dec 2020 11:39:59 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B619B31B; Thu, 10 Dec 2020 08:39:13 -0800 (PST) Received: from e113632-lin.cambridge.arm.com (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5A0A23F66B; Thu, 10 Dec 2020 08:39:11 -0800 (PST) From: Valentin Schneider To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , tglx@linutronix.de, mingo@kernel.org, bigeasy@linutronix.de, qais.yousef@arm.com, swood@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vincent.donnefort@arm.com, tj@kernel.org, ouwen210@hotmail.com, Qian Cai Subject: [PATCH 0/2] workqueue: Fix migrate_disable hotplug changes vs kworker affinity Date: Thu, 10 Dec 2020 16:38:28 +0000 Message-Id: <20201210163830.21514-1-valentin.schneider@arm.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi folks, This should fix the issue reported by Qian at [1]. Dietmar mentioned some other issue with hotplug & deadline tasks, but that's being investigated by someone else ATM. I would like to mention I suspect this bug comes straight from $hell, as I've never ever had to fight off so many (mostly unrelated) issues while looking into it. Distro kernel being mangled, git tree corruption, periods of heisenbugism... Cheers, Valentin [1]: https://lore.kernel.org/r/ff62e3ee994efb3620177bf7b19fab16f4866845.camel@redhat.com Valentin Schneider (2): stop_machine: Add caller debug info to queue_stop_cpus_work workqueue: Fix affinity of kworkers attached during late hotplug kernel/stop_machine.c | 1 + kernel/workqueue.c | 24 +++++++++++++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) -- 2.27.0