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  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]
Date:	Mon, 26 Oct 2009 21:21:13 +0100
From:	Ingo Molnar <>
To:	Arjan van de Ven <>
Cc:	Pierre-Marc Fournier <>,
	GeunSik Lim <>,
	Zhaolei <>,
	Wu Fengguang <>,
	Jesper Juhl <>,
	Mathieu Desnoyers <>,
	Adrian Bunk <>,
	Harvey Harrison <>,
	"Robert P. J. Day" <>,
	Jaswinder Singh Rajput <>,
	Frederic Weisbecker <>,
	Steven Rostedt <>,
	Lai Jiangshan <>,
	KOSAKI Motohiro <>,,
	Dominique Toupin <>,
	Michel Dagenais <>
Subject: Re: Relicensing tracepoints and markers to Dual LGPL v2.1/GPL
	v2,headers to Dual BSD/GPL

* Arjan van de Ven <> wrote:

> On Mon, 26 Oct 2009 09:17:49 -0400
> Pierre-Marc Fournier <> wrote:
> > Ingo Molnar wrote:
> > > 
> > > But i also disagree with it on a technical level: code duplication
> > > is _bad_. Why does the code have to be duplicated in user-space
> > > like that? I'd like Linux tracing code to be in the kernel repo.
> > > Why isnt this done properly, as part of the kernel project - to
> > > make sure it all stays in sync?
> > > 
> > 
> > If you mean that this code should solely be used inside the kernel,
> > then what you propose technically does not work. There is a very high
> > cost to accessing kernel code from userspace. 
> yeah 100 cycles is insanely high, that's at least the equivalent of... 
> say one cache miss.

That too - plus 'being in the kernel repo' does not mean it has to run 
in kernel mode. It could be a vdso feature or a library in tools/. I'm 
quite sure it's a mistake to ad-hoc export the current tracepoint.c code 
to user-space without having it all under the same maintenance envelope.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists