lkml.org 
[lkml]   [2011]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Porting "jump labels" to userspace
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.

David Daney


\
 
 \ /
  Last update: 2011-02-16 21:19    [W:0.081 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site