From mboxrd@z Thu Jan 1 00:00:00 1970 From: roland@redhat.com (Roland McGrath) Date: Wed, 16 Feb 2011 12:04:49 -0800 (PST) Subject: [ltt-dev] Porting "jump labels" to userspace (was: Re: LTTng-UST vs SystemTap userspace tracing benchmarks) In-Reply-To: Mathieu Desnoyers's message of Wednesday, 16 February 2011 15:00:34 -0500 <20110216200034.GA6066@Krystal> References: <4D5AA164.1050607@polymtl.ca> <1297853778.3224.90.camel@springer.wildebeest.org> <20110216185056.CAD7B1806E0@magilla.sf.frob.com> <20110216200034.GA6066@Krystal> Message-ID: <20110216200449.1EB9618020E@magilla.sf.frob.com> IMHO there is not really so much to the in-kernel implementation that it's worth attempting to reuse the code in userland. Pretty much all the work is in the details of the implementation that would naturally differ a lot in a different context. If you understand the mechanism and the machine details, then implementing it well for a userland context is not a big deal and is cleaner to do from scratch than shoe-horning kernel-centric code into a wildly different context. Thanks, Roland