Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757425AbbFQBSi (ORCPT ); Tue, 16 Jun 2015 21:18:38 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.232]:29610 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757354AbbFQBSa (ORCPT ); Tue, 16 Jun 2015 21:18:30 -0400 Date: Tue, 16 Jun 2015 21:19:12 -0400 From: Steven Rostedt To: Alexei Starovoitov Cc: Daniel Wagner , paulmck@linux.vnet.ibm.com, Daniel Wagner , LKML Subject: Re: call_rcu from trace_preempt Message-ID: <20150616211912.455c0b83@grimm.local.home> In-Reply-To: <5580C7A7.5040705@plumgrid.com> References: <557F509D.2000509@plumgrid.com> <20150615230702.GB3913@linux.vnet.ibm.com> <557F7764.5060707@plumgrid.com> <20150616021458.GE3913@linux.vnet.ibm.com> <557FB7E1.6080004@plumgrid.com> <20150616122733.GG3913@linux.vnet.ibm.com> <558018DD.1080701@monom.org> <55805AC5.8020507@plumgrid.com> <20150616133709.6c53645d@gandalf.local.home> <5580C054.2080809@plumgrid.com> <20150616204711.0e6ea1d7@grimm.local.home> <5580C7A7.5040705@plumgrid.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 X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 720 Lines: 19 On Tue, 16 Jun 2015 18:04:39 -0700 Alexei Starovoitov wrote: > > you mean similar to what rb_wakeups() and friends are doing? > makes sense. starting to study it... Yes, I meant those functions. But yours would be slightly different. As it would be the one calling the irq work that would be setting the flag, not a separate entity (like the reader of the ring buffer). I haven't fully thought it through, but I imagine it should still work. -- 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/