Re: [PATCH] printk: Add printk_flush() to force buffered text toconsole

From: Fengguang Wu
Date: Fri Jun 15 2012 - 00:22:35 EST


> I actually would like to make these more compact. As all my test box
> consoles go through serial ports, just booting through this takes more
> time the the compile itself.

The tests took 23 seconds boot time on one kernel:

[ 0.152934] Testing tracer nop: PASSED
...1577 lines total...
[ 23.206550] Testing kprobe tracing: OK

And 135 seconds in another bloated kernel:

[ 115.396441] Testing event 9p_client_req: OK
...2545 lines total...
[ 240.268783] Testing kprobe tracing: OK

I'd appreciate if the boot time can be reduced. Because I'm doing
kernel boot tests for *every single* commits.

It may look insane amount of work, but it's still manageable: with 10
kvm instances each take 1 minute to boot test a kernel, I can boot
test 60*24*10=14400 kernels in one day. That's a rather big number.
That allows me to run more cpu/vm/io stress tests for each kernel :-)

Thanks,
Fengguang
--
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/