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, 10 Mar 2014 10:24:40 -0700
From:	Andi Kleen <>
To:	Alexander Shishkin <>
Cc:	Dave Hansen <>,
	Peter Zijlstra <>,
	Ingo Molnar <>,,
	Frederic Weisbecker <>,
	Mike Galbraith <>,
	Paul Mackerras <>,
	Stephane Eranian <>,
	Adrian Hunter <>,
	Matt Fleming <>
Subject: Re: [PATCH v1 03/11] perf: Allow for multiple ring buffers per event

> > Wouldn't we have to teach a ton of code how to be IRQ safe for this to
> > work?  Just step one: how do we go modifying page tables safely from an
> > interrupt?  mm->page_table_lock is a plain non-irq spinlock.
> Yes, this does look more than just tricky even if we move the bulk of
> interrupt code to an irq_work. Peter, are you quite sure this is what we
> want to do just for exporting trace buffers to userspace?

The other big problem is scalability. Even if it was somehow possible
to make this scheme work the IPIs for flushing would kill performance 
on any multi threaded client.  Given perf is not multi-threaded today, but
it doesn't seem a good idea to design the interface assuming no client ever
will be.

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