Received: by 10.223.176.46 with SMTP id f43csp1164777wra; Fri, 19 Jan 2018 07:47:01 -0800 (PST) X-Google-Smtp-Source: AH8x227JWAX/rAjtOX5H450suDqlYrHMlIsdmywykaZTGzbNTj0cYawf6sfoMRgvb16gZs1hO7ZL X-Received: by 2002:a17:902:bd05:: with SMTP id p5-v6mr181773pls.250.1516376821792; Fri, 19 Jan 2018 07:47:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516376821; cv=none; d=google.com; s=arc-20160816; b=KH9HFY2ASM80pxsinu9C7ABOLvHHzIZRx46WhdeoVpT6FBG1MWEYNpBxt8jY5jKnlB gCGsmG5f+aRBbbJAp02dRu+urwRsjaFXM7sNF2PuH0xsC6zJ0oBDn9SmxJ788XKHnEzg 9ADQO6m0evh5y04GYdNzFsc1SpjXpC+iY3qsGNFIGrirBCDau1wUPkify/xChohjuczb LRAlOEB4AG8UtQDeQGflNHt7dFEwHbB+FH3wTaQoOhnln5MxzHF+lBJKIuB8VYxTOelI +Au6FY3zY2dLEzqARkELj0uEdLXRlDu8nxKU4B9xzFU4w99raMkLUYOLUVUO88x4KCIC r8XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:arc-authentication-results; bh=b3eRPrgP3p7G2J527v7bh54rjRQ8YZ8RDVxMJFmt4Rg=; b=p6hYNrd9OI2MVla6WRxsMtowDEmhAC3gfoYToh+v0H970oyIyDVGHb/2S9ed1CGX80 UTf9trNYRHujPkWvfht6Z5dNQpCVwQHnIDLdEeDlFDNeT8B3c7h6IRfPGjKCiZhOIEsN U3HbF2hzwehgBUGoJHT5Z9OykljnEJJQfxd6bmH0T1CzuvN84r2lt0amCBoQs6yW8lTK 6x6L8zX7AVh5cILHGlLlq2xwG98XmA05Fo7f1R6AUBFhSlht8gbKw5ht5UgCFcyxw8kg yzSssXkU6yQtkTT9Fg7khCg5OP0YEShKpmrro3+Mq5jjjQgu2Ik+4FLc7fAAQZc0RN3A 77pg== ARC-Authentication-Results: i=1; mx.google.com; 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 x8-v6si908320plo.616.2018.01.19.07.46.47; Fri, 19 Jan 2018 07:47:01 -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; 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 S1755975AbeASPqa (ORCPT + 99 others); Fri, 19 Jan 2018 10:46:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:58462 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755524AbeASPqX (ORCPT ); Fri, 19 Jan 2018 10:46:23 -0500 Received: from localhost.localdomain (i16-les03-th2-31-37-47-191.sfr.lns.abo.bbox.fr [31.37.47.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DFF7F21456; Fri, 19 Jan 2018 15:46:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DFF7F21456 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=frederic@kernel.org From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Levin Alexander , Peter Zijlstra , Mauro Carvalho Chehab , Linus Torvalds , Hannes Frederic Sowa , "Paul E . McKenney" , Wanpeng Li , Dmitry Safonov , Thomas Gleixner , Andrew Morton , Paolo Abeni , Radu Rendec , Ingo Molnar , Stanislaw Gruszka , Rik van Riel , Eric Dumazet , David Miller Subject: [RFC PATCH 0/4] softirq: Per vector threading v3 Date: Fri, 19 Jan 2018 16:46:10 +0100 Message-Id: <1516376774-24076-1-git-send-email-frederic@kernel.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As per Linus suggestion, this take doesn't limit the number of occurences per jiffy anymore but instead defers a vector to workqueues as soon as it gets re-enqueued on IRQ tail. No tunable here, so testing should be easier. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git softirq/thread-v3 HEAD: 6835e92cbd70ef4a056987d2e1ed383b294429d4 Thanks, Frederic --- Frederic Weisbecker (4): softirq: Limit vector to a single iteration on IRQ tail softirq: Per vector deferment to workqueue softirq: Defer to workqueue when rescheduling is needed softirq: Replace ksoftirqd with workqueues entirely Documentation/RCU/stallwarn.txt | 4 +- include/linux/interrupt.h | 7 +- kernel/sched/cputime.c | 12 +-- kernel/sched/sched.h | 4 +- kernel/softirq.c | 223 +++++++++++++++++++++++----------------- net/ipv4/tcp_output.c | 5 +- 6 files changed, 144 insertions(+), 111 deletions(-)