Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: tglx@linutronix.de (Thomas Gleixner)
Subject: [ltt-dev] Porting "jump labels" to userspace
Date: Wed, 16 Feb 2011 21:45:30 +0100 (CET)	[thread overview]
Message-ID: <alpine.LFD.2.00.1102162143430.2701@localhost6.localdomain6> (raw)
In-Reply-To: <20110216203953.GB2015@Krystal>

On Wed, 16 Feb 2011, Mathieu Desnoyers wrote:

> * David Daney (ddaney at caviumnetworks.com) wrote:
> > On 02/16/2011 12:04 PM, Roland McGrath wrote:
> >> 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.
> >>
> >
> > Good point.
> >
> > Certainly the details of maintaining instruction cache coherency may be  
> > different in userspace.
> 
> Indeed, the arch-specific parts will need some extra care (which might, in the
> worse case scenario, require to suspend a whole process during the update), but
> the generic code in jump_label.c and jump_label.h could certainly be reused.

We talk about 500 lines of code, where half of it is modules specific
and the whole thing is full of kernelims. IMNSHO, that's faster
reimplemented from scratch than writing all the mails and get the
authors to sign off on the license change.

Thanks,

	tglx




  reply	other threads:[~2011-02-16 20:45 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-15 15:53 [ltt-dev] LTTng-UST vs SystemTap userspace tracing benchmarks Julien Desfossez
2011-02-15 16:25 ` William Cohen
2011-02-17 16:20   ` Julien Desfossez
2011-02-15 16:26 ` Frank Ch. Eigler
2011-02-15 16:54   ` Mathieu Desnoyers
2011-02-15 17:39     ` Frank Ch. Eigler
2011-02-15 22:25       ` Mathieu Desnoyers
2011-02-15 17:00   ` Stefan Hajnoczi
2011-02-15 17:04     ` Mathieu Desnoyers
2011-02-16 10:56     ` Mark Wielaard
2011-02-16 18:50       ` Roland McGrath
2011-02-16 20:00         ` [ltt-dev] Porting "jump labels" to userspace (was: Re: LTTng-UST vs SystemTap userspace tracing benchmarks) Mathieu Desnoyers
2011-02-16 20:04           ` Roland McGrath
2011-02-16 20:17             ` [ltt-dev] Porting "jump labels" to userspace David Daney
2011-02-16 20:39               ` Mathieu Desnoyers
2011-02-16 20:45                 ` Thomas Gleixner [this message]
2011-02-16 21:42                   ` Peter Zijlstra
2011-02-17 13:58                     ` Ingo Molnar
2011-02-16 20:14           ` David Daney
2011-02-16 20:36             ` Mathieu Desnoyers
2011-02-16 20:55         ` [ltt-dev] LTTng-UST vs SystemTap userspace tracing benchmarks Stefan Hajnoczi
2011-02-16 21:05           ` Mathieu Desnoyers
2011-02-16 21:16           ` Mark Wielaard
2011-02-15 17:03 ` Mark Wielaard
2011-02-16 15:30 ` Tom Tromey
2011-02-16 18:19   ` Roland McGrath
2011-02-17 17:33   ` Julien Desfossez
2011-02-17 19:11     ` Josh Stone
2011-02-17 19:33       ` Julien Desfossez
2011-02-17 19:47         ` Josh Stone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.00.1102162143430.2701@localhost6.localdomain6 \
    --to=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox