Re: LLVM Image Activator

2013-01-13 Thread Ed Schouten
Hi Kostik, 2013/1/7 Konstantin Belousov kostik...@gmail.com: I still do remember the buzz about the binary format 0xCAFEBABE, which AFAIR gained image activator support on several OSes, to be garbage collected. Maybe it would then be a good idea then to add some kind of general purpose

Re: LLVM Image Activator

2013-01-13 Thread Konstantin Belousov
On Sun, Jan 13, 2013 at 12:41:09PM +0100, Ed Schouten wrote: Hi Kostik, 2013/1/7 Konstantin Belousov kostik...@gmail.com: I still do remember the buzz about the binary format 0xCAFEBABE, which AFAIR gained image activator support on several OSes, to be garbage collected. Maybe it

Re: Fast sigblock (AKA rtld speedup)

2013-01-13 Thread Konstantin Belousov
On Sun, Jan 13, 2013 at 02:32:00PM +0100, Jilles Tjoelker wrote: On Sat, Jan 12, 2013 at 05:25:47PM +0100, Jilles Tjoelker wrote: This suggests a different rather simpler change. Libthr can always use its rtld lock implementation instead of only when multiple threads exist. This avoids the

Re: Fast sigblock (AKA rtld speedup)

2013-01-13 Thread Ian Lepore
On Sat, 2013-01-12 at 15:04 -0800, John-Mark Gurney wrote: David Xu wrote this message on Tue, Jan 08, 2013 at 13:09 +0800: and can not be freed until process is exited, the page is doubly mapped into in kernel and userland, accessing the shared data in kernel has zero overhead though.

Re: Fast sigblock (AKA rtld speedup)

2013-01-13 Thread Konstantin Belousov
On Sun, Jan 13, 2013 at 07:50:14AM -0700, Ian Lepore wrote: On Sat, 2013-01-12 at 15:04 -0800, John-Mark Gurney wrote: David Xu wrote this message on Tue, Jan 08, 2013 at 13:09 +0800: and can not be freed until process is exited, the page is doubly mapped into in kernel and userland,

Re: LLVM Image Activator

2013-01-13 Thread Nathan Whitehorn
On 01/13/13 05:20, Konstantin Belousov wrote: On Sun, Jan 13, 2013 at 12:41:09PM +0100, Ed Schouten wrote: Hi Kostik, 2013/1/7 Konstantin Belousov kostik...@gmail.com: I still do remember the buzz about the binary format 0xCAFEBABE, which AFAIR gained image activator support on several OSes,

Re: Fast sigblock (AKA rtld speedup)

2013-01-13 Thread Ian Lepore
On Sun, 2013-01-13 at 17:06 +0200, Konstantin Belousov wrote: On Sun, Jan 13, 2013 at 07:50:14AM -0700, Ian Lepore wrote: On Sat, 2013-01-12 at 15:04 -0800, John-Mark Gurney wrote: David Xu wrote this message on Tue, Jan 08, 2013 at 13:09 +0800: and can not be freed until process is

Re: Fast sigblock (AKA rtld speedup)

2013-01-13 Thread Konstantin Belousov
On Sun, Jan 13, 2013 at 10:46:27AM -0700, Ian Lepore wrote: On Sun, 2013-01-13 at 17:06 +0200, Konstantin Belousov wrote: On Sun, Jan 13, 2013 at 07:50:14AM -0700, Ian Lepore wrote: On Sat, 2013-01-12 at 15:04 -0800, John-Mark Gurney wrote: David Xu wrote this message on Tue, Jan 08,

Re: Fast sigblock (AKA rtld speedup)

2013-01-13 Thread Ian Lepore
On Sun, 2013-01-13 at 19:50 +0200, Konstantin Belousov wrote: On Sun, Jan 13, 2013 at 10:46:27AM -0700, Ian Lepore wrote: On Sun, 2013-01-13 at 17:06 +0200, Konstantin Belousov wrote: On Sun, Jan 13, 2013 at 07:50:14AM -0700, Ian Lepore wrote: On Sat, 2013-01-12 at 15:04 -0800, John-Mark

Re: LLVM Image Activator

2013-01-13 Thread John-Mark Gurney
Nathan Whitehorn wrote this message on Sun, Jan 13, 2013 at 10:14 -0800: On 01/13/13 09:13, Konstantin Belousov wrote: On Sun, Jan 13, 2013 at 08:21:37AM -0800, Nathan Whitehorn wrote: On 01/13/13 05:20, Konstantin Belousov wrote: On Sun, Jan 13, 2013 at 12:41:09PM +0100, Ed Schouten wrote: