Re: [PATCH v3] printk: allow increasing the ring buffer depending on the number of CPUs

From: Luis R. Rodriguez
Date: Sat Jun 14 2014 - 14:48:22 EST


It turns out we can't use num_possible_cpus() that early on boot, as
it hasn't yet been properly set, nor other helpers, a late setup for
big CPUs is therefore needed in order to use num_possible_cpus().
That also means we can use kzalloc() instead. I'll send a v4 and
I think we should test this a bit so will send as RFT.

Luis
--
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/