Re: [RFC 0/4] Transparent on-demand struct page initialization embedded in the buddy allocator

Ingo Molnar
2013-07-23T08:20:44Z

* Borislav Petkov <bp@alien8.de> wrote:

> On Tue, Jul 16, 2013 at 05:55:02PM +0900, Joonsoo Kim wrote:
> > How about executing a perf in usermodehelper and collecting output
> > in tmpfs? Using this approach, we can start a perf after rootfs
> > initialization,
>
> What for if we can start logging to buffers much earlier? *Reading*
> from those buffers can be done much later, at our own leisure with full
> userspace up.

Yeah, agreed, I think this needs to be more integrated into the kernel, so
that people don't have to worry about "when does userspace start up the
earliest" details.

Fundamentally all perf really needs here is some memory to initialize and
buffer into.

Thanks,

Ingo