Received: by 10.223.176.46 with SMTP id f43csp4462658wra; Tue, 23 Jan 2018 09:43:39 -0800 (PST) X-Google-Smtp-Source: AH8x226LBz48oLCQGOQnrJswBV7vetqyFiqTsl92os0U4Dupwudfc2rPPVITA5gSdS/C54D3qj5l X-Received: by 10.107.21.133 with SMTP id 127mr4710255iov.148.1516729419403; Tue, 23 Jan 2018 09:43:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516729419; cv=none; d=google.com; s=arc-20160816; b=0RjPL0UaBDB12UaEed8Qjg/6ZxKaAzO2nn/Q3cBjwJdFn19rmCNK7m9IZtIGUfhZ98 rVLBNsEyFy5jG28iX1qGfrpDh9pnOgT8aP2xIqjW9kVnNP9bFr8sBC20Xa0ZAzLn4mK/ AZDzUQNkNAam8YoqNTPaUEkjuZttEmWclXVr+9v9rMJSrCm5qjh/o+p/r+oIFdfb7X0E v94+jtBxGLljnicLH6H5wkwUw174vaiv99bnvORbGGLpwNeBMMab6V1NcejFBsbna5q+ uyxV2pbmKHmzZQwIjFTe+JjWjg6LJOGUCE/jPIsjMIhd/Pv/fe9MQGhueFJfwL51ZS1j /A+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=dotaw0/29/xGtwNj3W+bToShkgJTptADhrxX0nm0iyk=; b=05TJznbQNMcjOJcE/bJRZaA4x2ti9Wcm8wedKh0GdhdRFGx5iOUuyrNDVMFlgbShRV tffjZlL92zHVfTsjL67+jhTaoqbEaOv6Us+MlX8jwWV3N2gkgE9EA0astL5q03AL5ez1 8IDIju6NG95+Q8pgszA6w75f5L4pIFpQY/zeEX5pXxsoGS0fNAlKgTDY6E4MI9WbBrFN qAoZ9iBjEMRLqdd5/n9tf9NlNT4ZiYF5/xBu+kEUxFVyPN2lFiIGHPo4RxpYAONSB2MQ 6QDs3gDbU7ELGKaezJDHUNy3Y+F1YwJ2Y2LFqcI7Hy7sjz9dsVwPNLVcTewwRL+mWkbh zBdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=YKf+lzAf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n10si5987127ioc.62.2018.01.23.09.43.26; Tue, 23 Jan 2018 09:43:39 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=YKf+lzAf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751961AbeAWRmf (ORCPT + 99 others); Tue, 23 Jan 2018 12:42:35 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:46658 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751895AbeAWRme (ORCPT ); Tue, 23 Jan 2018 12:42:34 -0500 Received: by mail-it0-f68.google.com with SMTP id c16so1911638itc.5 for ; Tue, 23 Jan 2018 09:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=dotaw0/29/xGtwNj3W+bToShkgJTptADhrxX0nm0iyk=; b=YKf+lzAf/Jh5Wxf5WPjJUyavoBLAsLkOYT8GR9V8e6GYcd93yzOJ7defZuFxAVse4j 0N5a+awTv7CLavfY4ihvHX9Xs3mnaXWURVnoG6d1hpr+nsQrY7z3XplNiMrz/4JAOjyd wWbC9Q5WOKbs6ffmB8hvMAB/wDXisQGscqUdQN6siredlvvaTmpJV1h6LqOMzrkwZzNA KNNGvY9BXrgDv31s+4n0ak8+4UPdZ5tFKuv4Mx8bll9lO1A8CkVZIUsd5CGqsyEE3/AU oCvyhTm3I209oo60qxEH3FP+nJYCcMkVM0/kRtwxbGaWb+SRGYa6k2RxEsr0m3Egri4Y KLow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=dotaw0/29/xGtwNj3W+bToShkgJTptADhrxX0nm0iyk=; b=tpFMuaFIqFYWD4JeaHbFgNMVGCAkyg9eJuxhlbQtPhK3JZlNpiswG9iRAZS4wWDVvJ g2bn8zeoOeBsrZe7tY8u4KGZJA0a4fd7dtWmizYZ0kq6w+Fe9Mc/Wp+UZjCb3gq1cV15 6rsPbPF5IoFosqxk5gkq8IR8d3gVf7pWnOKKedHzGpjcVTDyQNmrFjTEpcCFcLv+WBsj uLdOFZi8t4RQNyVEwjdqgQWj6v0MbVAckcMR8W65eFOhf3bIiFkqT8IS6QPhOWULCoio 8S3iQP+HQxbVvXKboc1ihwq3t3Iv9P7hSzWGTFT/TXtOBgdrE5Uxoet065C9nUD/jf5w JVDA== X-Gm-Message-State: AKwxytfYYBWXn2v+jYfuIOojZcq4d1+fOG5rj/KCZbiBT6cvqngVRHU8 LYppBAcE7mQaePIHhHQwa67IWQbXZ0EvF5VStwk= X-Received: by 10.36.238.194 with SMTP id b185mr4900109iti.100.1516729353297; Tue, 23 Jan 2018 09:42:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.59.196 with HTTP; Tue, 23 Jan 2018 09:42:32 -0800 (PST) In-Reply-To: <1516726652.2554.58.camel@redhat.com> References: <1516376774-24076-1-git-send-email-frederic@kernel.org> <1516702432.2554.37.camel@redhat.com> <20180123.112201.1263563609292212852.davem@davemloft.net> <1516726652.2554.58.camel@redhat.com> From: Linus Torvalds Date: Tue, 23 Jan 2018 09:42:32 -0800 X-Google-Sender-Auth: Z-6k3ltqKHZrngqnzjKqaz6VWk0 Message-ID: Subject: Re: [RFC PATCH 0/4] softirq: Per vector threading v3 To: Paolo Abeni Cc: David Miller , Frederic Weisbecker , Linux Kernel Mailing List , Sasha Levin , Peter Zijlstra , Mauro Carvalho Chehab , Hannes Frederic Sowa , Paul McKenney , Wanpeng Li , Dmitry Safonov , Thomas Gleixner , Andrew Morton , Radu Rendec , Ingo Molnar , Stanislaw Gruszka , Rik van Riel , Eric Dumazet Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 23, 2018 at 8:57 AM, Paolo Abeni wrote: > >> Or is it that the workqueue execution is simply not yielding for some >> reason? > > It's like that. > > I spent little time on it, so I haven't many data point. I'll try to > investigate the scenario later this week. Hmm. workqueues seem to use cond_resched_rcu_qs(), which does a cond_resched() (and a RCU quiescent note). But I wonder if the test triggers the "lets run lots of workqueue threads", and then the single-threaded user space just gets blown out of the water by many kernel threads. Each thread gets its own "fair" amount of CPU, but.. Linus