lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D5C30D8.8070107@caviumnetworks.com>
Date:	Wed, 16 Feb 2011 12:17:28 -0800
From:	David Daney <ddaney@...iumnetworks.com>
To:	Roland McGrath <roland@...hat.com>
CC:	Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
	Mark Wielaard <mjw@...hat.com>,
	Stefan Hajnoczi <stefanha@...il.com>,
	"Frank Ch. Eigler" <fche@...hat.com>,
	Julien Desfossez <julien.desfossez@...ymtl.ca>,
	dominique.toupin@...csson.com, ltt-dev@...ts.casi.polymtl.ca,
	systemtap@...rces.redhat.com, linux-kernel@...r.kernel.org,
	Jason Baron <jbaron@...hat.com>, hpa@...or.com,
	rostedt@...dmis.org, mingo@...e.hu, tglx@...utronix.de,
	andi@...stfloor.org, rth@...hat.com,
	masami.hiramatsu.pt@...achi.com, fweisbec@...il.com,
	avi@...hat.com, davem@...emloft.net, sam@...nborg.org,
	michael@...erman.id.au, Peter Zijlstra <peterz@...radead.org>
Subject: Re: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ