Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030855AbbDWVAc (ORCPT ); Thu, 23 Apr 2015 17:00:32 -0400 Received: from smtprelay0080.hostedemail.com ([216.40.44.80]:51442 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750761AbbDWVA3 convert rfc822-to-8bit (ORCPT ); Thu, 23 Apr 2015 17:00:29 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::,RULES_HIT:41:152:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1513:1515:1516:1518:1521:1534:1541:1593:1594:1711:1730:1747:1777:1792:1981:2194:2199:2393:2553:2559:2562:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:4605:5007:6119:6261:6691:7514:7875:7901:7903:9707:10004:10400:10450:10455:10848:10967:11026:11232:11658:11914:12043:12296:12517:12519:12740:13069:13311:13357:19904:19999: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: town52_787d30880b129 X-Filterd-Recvd-Size: 2504 Date: Thu, 23 Apr 2015 17:00:26 -0400 From: Steven Rostedt To: Mike Galbraith Cc: Jan Kiszka , Sebastian Andrzej Siewior , RT , Linux Kernel Mailing List Subject: Re: [PATCH RT 3.18] irq_work: Provide a soft-irq based queue Message-ID: <20150423170026.0de65c90@gandalf.local.home> In-Reply-To: <1429773566.3419.42.camel@gmail.com> References: <552FC1FE.4020406@siemens.com> <552FC6B1.1040000@linutronix.de> <552FC72A.8060709@siemens.com> <20150416111041.66043164@gandalf.local.home> <552FD55F.8000105@siemens.com> <552FE320.6050601@siemens.com> <1429517036.3226.9.camel@gmail.com> <1429769505.3419.9.camel@gmail.com> <55389632.50308@siemens.com> <1429772482.3419.40.camel@gmail.com> <55389B67.3000703@siemens.com> <1429773566.3419.42.camel@gmail.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=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1352 Lines: 31 On Thu, 23 Apr 2015 09:19:26 +0200 Mike Galbraith wrote: > > CC kernel/irq_work.o > > In file included from ../include/asm-generic/percpu.h:6:0, > > from ../arch/x86/include/asm/percpu.h:522, > > from ../arch/x86/include/asm/current.h:5, > > from ../arch/x86/include/asm/processor.h:15, > > from ../arch/x86/include/asm/irq_work.h:4, > > from ../include/linux/irq_work.h:47, > > from ../kernel/irq_work.c:11: > > ../kernel/irq_work.c: In function ‘irq_work_queue_on’: > > ../kernel/irq_work.c:85:17: error: ‘hirq_work_list’ undeclared > > (first use in this function) > > &per_cpu(hirq_work_list, cpu)); > > Aw poo, so that's just what I _thought_ it was for. It helps optimization but does nothing for undefined symbols. That said, why don't we clean up that irq_work code and at least declare both lists, and get rid of all the #ifdefs. I wonder if gcc is smart enough to not allocate a static variable if it happens to be optimized out? -- 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/