Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933491AbbFWQbN (ORCPT ); Tue, 23 Jun 2015 12:31:13 -0400 Received: from smtprelay0033.hostedemail.com ([216.40.44.33]:40252 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932629AbbFWQbB (ORCPT ); Tue, 23 Jun 2015 12:31:01 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2553:2559:2562:2693:2900:2904:3138:3139:3140:3141:3142:3353:3622:3743:3865:3866:3867:3868:3870:3873:3874:4250:5007:6119:6261:7875:7903:9707:10004:10400:10848:10967:11232:11658:11914:12517:12519:12663:12740:13069:13161:13229:13311:13357:14040:14096:14097:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: shelf37_88d9401ec434 X-Filterd-Recvd-Size: 2693 Date: Tue, 23 Jun 2015 12:30:57 -0400 From: Steven Rostedt To: Gary Robertson Cc: Jan Kiszka , Sebastian Andrzej Siewior , LKML , linux-rt-users , Thomas Gleixner , Peter Zijlstra Subject: Re: [PATCH][RT][RFC] irq_work: Have non HARD_IRQ irq work just run from ticks Message-ID: <20150623123057.0bf8fc58@gandalf.local.home> In-Reply-To: References: <20150622150959.44055b32@gandalf.local.home> <5589694D.4040504@siemens.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1734 Lines: 38 On Tue, 23 Jun 2015 11:20:38 -0500 Gary Robertson wrote: > I am concerned about interactions with the evolving 'full tickless' operations. I'm concerned about more than just full tickless. But like you, I don't currently have any concrete examples to show there's a possible issue. > > While I have no concrete use cases to show, I can conceive that > an I/O data processing application running on an isolated core > operating in 'full tickless' mode might benefit from allowing interrupts > on that same core so long as they service hardware involved with > the data flow being processed by the application. > Let's further assume that for hardware-related reasons we still want > to run the irq work from a softirq context rather than a hardirq context. > > In such circumstances we obviously don't want the irq work done from a > timer tick - > so adding another irq work queue independent of the lazy flag and > unconditionally raising a softirq on the first addition to that queue > would seem to be the most flexible and compatible answer. > Irq work queued with the lazy bit set could be deferred until the next > tick interrupt > for efficiency and compatibility, and 'normal' irq work > would no longer be potentially stalled > by being enqueued with 'lazy' work. I'd be sleeping better at night with a third queue. I'll write up a patch and post that as an RFC as well. This will at a minimum keep with the paradigm of mainline linux. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/