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

From: Ingo Molnar
Date: Tue Jul 23 2013 - 04:20:53 EST



* Borislav Petkov <bp@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/