[PATCH 2/6] pstore/ram: Add console messages handling

Colin Cross ccross at android.com
Thu May 17 18:28:22 UTC 2012


On Thu, May 17, 2012 at 1:40 AM, Anton Vorontsov
<anton.vorontsov at linaro.org> wrote:
> This is all straightforward: we just use the last region for
> console logging. If there's just one region, we fall-back to
> the old behaviour: just a oops/dumps logging.
>
> Signed-off-by: Anton Vorontsov <anton.vorontsov at linaro.org>

I don't think using the last region is the right way to handle this.
We often use very large regions for ramconsole, up to 2MB.  Using a
single region would require a 2MB region for console and a 2MB region
for oops, which is far too large.



More information about the devel mailing list