From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DDC7C433DB for ; Tue, 12 Jan 2021 14:55:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5366220739 for ; Tue, 12 Jan 2021 14:55:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388800AbhALOzJ (ORCPT ); Tue, 12 Jan 2021 09:55:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726236AbhALOzI (ORCPT ); Tue, 12 Jan 2021 09:55:08 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3011EC061794 for ; Tue, 12 Jan 2021 06:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=yv6h4x95BGX9qXVY6Rcns5ygh15DQfWsBdxGTGyt8YE=; b=ZS3hDJrYdrTDPVhbly7EKu/Qp+ 1EtEpOKWYtEIYzWWOMznUNVXSccdaQc0SaDGv0cPE39fg8iXMqCzvTDgnD3teOspzrYmccN2Y/Qbv uTQjSLrHy1WrbUsXw9MxqRDzb4XersMk6Aawva3e3QmzZbLt0KPB7PRJuOpLXfEAysgecUJpIrkNd 0b3a4GhSucn7StrPFrjoQcgJeejxXaGSDCdlv6gAeWyhV0S0rF09YrNc9SStdvK5nibsIKVvGsYNZ YcSuWwtDjb1bBeeeuJ/9jG3h+ejeOzGRhnqCJyzJZqxczVSXVA/TCXTMLbyYa3ukwFIcJb0CPIx0i WtnPE9Rg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1kzL35-004vBG-Dv; Tue, 12 Jan 2021 14:53:35 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 1AEAF301324; Tue, 12 Jan 2021 15:53:31 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F2ACE20C228D5; Tue, 12 Jan 2021 15:53:30 +0100 (CET) Date: Tue, 12 Jan 2021 15:53:30 +0100 From: Peter Zijlstra To: Lai Jiangshan Cc: Valentin Schneider , Thomas Gleixner , LKML , Qian Cai , Vincent Donnefort , Dexuan Cui , Lai Jiangshan , Paul McKenney , Vincent Guittot , Steven Rostedt , Jens Axboe Subject: Re: [PATCH -tip V3 0/8] workqueue: break affinity initiatively Message-ID: References: <20201226025117.2770-1-jiangshanlai@gmail.com> <87o8hv7pnd.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2021 at 12:33:03PM +0800, Lai Jiangshan wrote: > > Well yes, but afaict the workqueue stuff hasn't been settled yet, and > > the rcutorture patch Paul did was just plain racy and who knows what > > other daft kthread users are out there. That and we're at -rc3. > > I just send the V4 patchset for the workqueue. Please take a look. Yes, I've seen it. But I think this approach is smaller and simpler. By distinguishing between geniuine per-cpu kthreads and kthreads that happen to have a single CPU affinity, things become much simpler and robust.