Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8428134pxu; Sun, 27 Dec 2020 06:10:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBp1QAQd7ivvvFKuVK/kpmCxBmMP04Ar0Co+XHsWslmXo7jbGuDU9aocB+Z5ZAoMPXmtYE X-Received: by 2002:a17:906:1a01:: with SMTP id i1mr39204673ejf.315.1609078257845; Sun, 27 Dec 2020 06:10:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609078257; cv=none; d=google.com; s=arc-20160816; b=N9Jn+G9rcpPjL27O2JUDownvK1hsZOynP99voMI4yOJ76ZprWg8M6DRJQVRuJQG5UH scAC4MJnwArANAo24K2f206pWkf8cwh7KyjaW2p+1vreE9lwVKxfe2eEowdoGJ+FJm8+ /FezIfWTEhqW6I7PHbTyr70XHWXbO4gq/k3l9i/eKADDV+XZygGoAeYHBYZJGOiK+5m2 l0X7XHknMnqeqKfpY08si5xByx3Wq23N0RqYhpreVDGDsyV+rw9iGMxA8/CGlo+pbpx8 KRCxMWlLGW+wum802a7AESo1iMviof+I0scxoR3v4pP2PxdAjUKlOZhLv5jM9IJCCrvh AEGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=C+gHZP7cPtjKkPqaKCZF4F4VOdZT0vsYRHLmdMGfyQw=; b=iqQCgOUbVAZzIwMgr8Xqt8rITgSgbgJZr9sulaGHfEt+k02jg/KKdnaSKbbErw99z8 psF2HnPYi+dzljG+he/SJ4TN6qD3oIq2ypcWokarOxRxrA+02ca5ahzS+BULK4dV3u1x d1cz70NXwlPF3/2btwtzdShoFeDgpqC5Q11jo3HoFRGUN3DnaxFNz1iwsmz1LKE/Kpw1 DtsC+FLTKHKmkj1C/jS9lpvyxuUf9eI2NPu53BhlzOfoCt1FuVOl6BQ5bGynblnEXETP uEs45Ic8fN8c2hVy3F/IvPZz9gyCYHIAcv1LT3Pz2iSvzm+g/IBlJdJWHBGId/0v/AbP 9y8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HAb9AHPy; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s4si18642391edr.197.2020.12.27.06.10.35; Sun, 27 Dec 2020 06:10:57 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HAb9AHPy; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726156AbgL0OJn (ORCPT + 99 others); Sun, 27 Dec 2020 09:09:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726104AbgL0OJn (ORCPT ); Sun, 27 Dec 2020 09:09:43 -0500 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFA0FC061794 for ; Sun, 27 Dec 2020 06:09:02 -0800 (PST) Received: by mail-io1-xd32.google.com with SMTP id m23so7368303ioy.2 for ; Sun, 27 Dec 2020 06:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C+gHZP7cPtjKkPqaKCZF4F4VOdZT0vsYRHLmdMGfyQw=; b=HAb9AHPyWi200m7OLsILHBgdyIYXB1rXlCmuW4Y0jRYZYCpvSu8+vux3Kp9/sCVZ0q gJVPpBzyiEruffT21pHmy8KqMwbD8SbOuDu/4dxd3AGEQRXP7qZ712EsvG0aGxc6vQv0 795TOdcUKI80jYa18yaY4yHFsq76fnRjiOYZ25gjIM8RiYZyyGSuIfrx8KiA1WFGbG6S rMtTzp0QeBh2GgwFnW+dY0TUACQosRugevLII954X5tBwz5BMm3FuNVcT8nCFsW25oK0 qyrs+SpW1CFiliClIo0BJm9+gUL/mpBT3m0AvSdqVJqZlNXeHfBgry8jNkgdFPA/9L/6 RCzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C+gHZP7cPtjKkPqaKCZF4F4VOdZT0vsYRHLmdMGfyQw=; b=hVgQzy0lRzm4WPDysSESRAZ3pgRDsuRWPCk3g3VmiDBe2Loflswn44vS1OUe+K3DtU kgrKOCB80xngcqViD0zGnGb68HedI68Wb4zRecUexWS696R/R6kS2i+GyLDnJ0RjDyat s/tRqInS8dUkoBDu7iWF7wxH4243d95Oo9DwRqgdhzFW+poVRtTRDiM5+zDzwUMwcKD3 wf1BwobF8GWr1xTfZr1dZMTig3KoaTADumjGDTw2x5+LIyYECONxVvCb8YRmjPVHXW// 0+5jwvCiT3AgXDW2z9nBZFIl0jwnb5qj46pZR4tWR41mcNifvvSKAS6TSNiA+z6xd0cf dlcw== X-Gm-Message-State: AOAM5301ocBP/8M3bhL5C59GGWf360GjLiT6DK0GydNx5du2x8M8V527 zM3XKIGDntRjDQnskv/ymRLIjhlI4WSmIkSLXzc= X-Received: by 2002:a6b:441a:: with SMTP id r26mr33065790ioa.105.1609078142261; Sun, 27 Dec 2020 06:09:02 -0800 (PST) MIME-Version: 1.0 References: <20201218170919.2950-1-jiangshanlai@gmail.com> <20201226103421.6616-1-hdanton@sina.com> <20201226145239.GJ2657@paulmck-ThinkPad-P72> In-Reply-To: <20201226145239.GJ2657@paulmck-ThinkPad-P72> From: Lai Jiangshan Date: Sun, 27 Dec 2020 22:08:51 +0800 Message-ID: Subject: Re: [PATCH -tip V2 00/10] workqueue: break affinity initiatively To: "Paul E. McKenney" Cc: Hillf Danton , LKML , Valentin Schneider , Peter Zijlstra , Qian Cai , Vincent Donnefort , Lai Jiangshan , Tejun Heo Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 26, 2020 at 10:52 PM Paul E. McKenney wrote: > > > > Can you please specify a bit what you encountered in rcutorture > > before this patchset? You know we cant have a correct estimation > > of the fix diameter without your help. > > It triggers the following in sched_cpu_dying() in kernel/sched/core.c, > exactly the same as for Lai Jiangshan: > > BUG_ON(rq->nr_running != 1 || rq_has_pinned_tasks(rq)) > > Which is in fact the "this" in my earlier "rcutorture hits this". ;-) > > Thanx, Paul > Hi, Hillf https://lkml.org/lkml/2020/12/22/141 From the email, I think rcutorture encountered the same problem. Hi, Paul I'm sorry to forget to add your Tested-by. Thanks Lai