From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932394AbcA0NjG (ORCPT ); Wed, 27 Jan 2016 08:39:06 -0500 Received: from www.linutronix.de ([62.245.132.108]:43292 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752792AbcA0NjE (ORCPT ); Wed, 27 Jan 2016 08:39:04 -0500 Date: Wed, 27 Jan 2016 14:37:59 +0100 (CET) From: Thomas Gleixner To: Christian Borntraeger cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] debugobjects: Allow bigger number of objects In-Reply-To: <56A8BB2C.5010605@de.ibm.com> Message-ID: References: <1453461761-14761-1-git-send-email-borntraeger@de.ibm.com> <56A8BB2C.5010605@de.ibm.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Jan 2016, Christian Borntraeger wrote: > On 01/26/2016 09:22 PM, Thomas Gleixner wrote: > > On Fri, 22 Jan 2016, Christian Borntraeger wrote: > > > >> On my bigger s390 systems I always get > >> "Out of memory. ODEBUG disabled". Since the number of objects > >> is needed at compile time in the code, let's provide a Kconfig > >> variable to increase the number of static objects. > > > > How many do you need on those big machines? Can't we scale that automagically > > with the number of cpus or such? > > It seems to be 530 - actually pretty close. > Hmm, we could simply increase that to 1000, it is initdata anyway? Yes, it's initdata, so it doesn't matter much. Thanks, tglx