[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140614184807.GE4841@wotan.suse.de>
Date: Sat, 14 Jun 2014 20:48:07 +0200
From: "Luis R. Rodriguez" <mcgrof@...e.com>
To: Davidlohr Bueso <davidlohr@...com>
Cc: "Luis R. Rodriguez" <mcgrof@...not-panic.com>, hpa@...ux.intel.com,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
Michal Hocko <mhocko@...e.cz>, Petr Mladek <pmladek@...e.cz>,
Joe Perches <joe@...ches.com>,
Arun KS <arunks.linux@...il.com>,
Kees Cook <keescook@...omium.org>,
Chris Metcalf <cmetcalf@...era.com>
Subject: Re: [PATCH v3] printk: allow increasing the ring buffer depending
on the number of CPUs
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists