From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754052AbcI1Uv5 (ORCPT ); Wed, 28 Sep 2016 16:51:57 -0400 Received: from asavdk4.altibox.net ([109.247.116.15]:35769 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752124AbcI1Uvs (ORCPT ); Wed, 28 Sep 2016 16:51:48 -0400 Date: Wed, 28 Sep 2016 22:51:40 +0200 From: Sam Ravnborg To: Babu Moger Cc: peterz@infradead.org, mingo@redhat.com, akpm@linux-foundation.org, keescook@chromium.org, dan.j.williams@intel.com, aryabinin@virtuozzo.com, tj@kernel.org, linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org Subject: Re: [PATCH v3 1/2] config: Adding the new config parameter CONFIG_PROVE_LOCKING_SMALL for sparc Message-ID: <20160928205140.GA1750@ravnborg.org> References: <1475004808-91920-1-git-send-email-babu.moger@oracle.com> <1475004808-91920-2-git-send-email-babu.moger@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1475004808-91920-2-git-send-email-babu.moger@oracle.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=eqGd9chX c=1 sm=1 tr=0 a=Ij76tQDYWdb01v2+RnYW5w==:117 a=Ij76tQDYWdb01v2+RnYW5w==:17 a=kj9zAlcOel0A:10 a=yPCof4ZbAAAA:8 a=7gkXJVJtAAAA:8 a=LHmZpoIlXeAn2rUFOYQA:9 a=CjuIK1q_8ugA:10 a=2lfDSYhZ3Z6b8uxcDO-Z:22 a=E9Po1WZjFZOl8hwRPBS3:22 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 27, 2016 at 12:33:27PM -0700, Babu Moger wrote: > This new config parameter limits the space used for "Lock debugging: > prove locking correctness" by about 4MB. The current sparc systems have > the limitation of 32MB size for kernel size including .text, .data and > .bss sections. With PROVE_LOCKING feature, the kernel size could grow > beyond this limit and causing system boot-up issues. With this option, > kernel limits the size of the entries of lock_chains, stack_trace etc., > so that kernel fits in required size limit. This is not visible to user > and only used for sparc. > > Signed-off-by: Babu Moger Acked-by: Sam Ravnborg