Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968115Ab2ERVvW (ORCPT ); Fri, 18 May 2012 17:51:22 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:60075 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759637Ab2ERVvS (ORCPT ); Fri, 18 May 2012 17:51:18 -0400 Date: Fri, 18 May 2012 14:49:48 -0700 From: Anton Vorontsov To: Colin Cross Cc: Greg Kroah-Hartman , Kees Cook , Tony Luck , Arnd Bergmann , John Stultz , Shuah Khan , arve@android.com, Rebecca Schultz Zavin , Jesper Juhl , Randy Dunlap , Stephen Boyd , Thomas Meyer , Andrew Morton , Marco Stornelli , WANG Cong , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com Subject: Re: [PATCH 2/6] pstore/ram: Add console messages handling Message-ID: <20120518214947.GA30293@lizard> References: <20120517083740.GA25627@lizard> <20120517084042.GB31753@lizard> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1083 Lines: 27 On Thu, May 17, 2012 at 11:28:22AM -0700, Colin Cross wrote: > On Thu, May 17, 2012 at 1:40 AM, Anton Vorontsov > 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 > > 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. Yeah, I agree. I planned to take care of it later, as this would involve touching more code. But OK, let's do this right away. Thanks! -- Anton Vorontsov Email: cbouatmailru@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/