Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1332341imu; Tue, 20 Nov 2018 15:59:55 -0800 (PST) X-Google-Smtp-Source: AJdET5fEuZlMxlkV3qej4FnLQHy0yFLGk69xWdOxahtETrZmZJvdXGiYyWeakgjHK4c92S83EtyU X-Received: by 2002:a62:7f94:: with SMTP id a142mr4432613pfd.96.1542758395287; Tue, 20 Nov 2018 15:59:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542758395; cv=none; d=google.com; s=arc-20160816; b=rBB5+KDm/D7WiVTQk3wQiMJ6XrSGTGJSEAkvuUedlYl8YERNbEHnxgV10UQVowHopt u0DlUypMTnRf8rKQD8t5fwZmhpmp4Zo//aiM4/UTaHPYB1pZL5FLvaKEWxAE0Q8v0TTT RMTPjdq5iI9wEy7QlHiFsc0Q76Yj+7Rsre5POKUVm8Inj0WfCreWChKX2wdsbbzPgvA8 LcI/+FSxkTnAfzYogopnh/Loibw40i10vqkKOz6JcuSgsoNk7ReW+MS1YducdR1RreW4 jFNxC4nZvHQhiSGbobfet4BhoVe2MZlWMCRZiiKSySmIXQt3OmRPr+xQcs967mgfMyKK DYMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=Iv3sIDNu09e+Dfj8VBZ7mO7BUp5QF0lkArY/xMIEqb4=; b=EqA9QhOeVMMp/GG+xrcvd179ilRotTy5uguLWiP6sxSC0j5rVYfriIS3sELwTWS5N5 QgmR0TCDGe/tbdyw3XGK9iDQQYZ2SWgFI8y2lvEYxL2YV+wv9dnamiYj/y9g3FfgHK0D vMRxD1ZeK3lczvLngq3T7nCrCFQv80rF+oGbm5N2GZzQ1FvyoKiYfVXLyRTQ+x3gdvru v5gRKE8XFBih4W5W291eEYG3+FYlOLipsGWgRUEMi1m68HK+u8pg1gtSuYhc2S/22Pnk Jsk2/8h+eJHxJYkKj8Ixb9EbiKQRFXsAOF5DVck/v96agwXgvATpIPs4bYvd8kxH77pW 8RMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r12si12944148plo.59.2018.11.20.15.59.39; Tue, 20 Nov 2018 15:59:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726704AbeKUKav (ORCPT + 99 others); Wed, 21 Nov 2018 05:30:51 -0500 Received: from smtprelay0191.hostedemail.com ([216.40.44.191]:46091 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726021AbeKUKav (ORCPT ); Wed, 21 Nov 2018 05:30:51 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id EA2D68368F10; Tue, 20 Nov 2018 23:59:01 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:152:355:379:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:4321:4823:5007:7903:8603:10004:10400:10848:11026:11232:11473:11658:11914:12438:12663:12740:12895:13069:13311:13357:13894:14181:14659:21080:21451:21627:21740:30034:30054:30062:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:29,LUA_SUMMARY:none X-HE-Tag: neck69_31937302bb055 X-Filterd-Recvd-Size: 2114 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA; Tue, 20 Nov 2018 23:59:00 +0000 (UTC) Message-ID: Subject: Re: [PATCH v3] debugobjects: scale the static pool size From: Joe Perches To: Qian Cai , Waiman Long Cc: tglx@linutronix.de, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, yang.shi@linux.alibaba.com, arnd@arndb.de Date: Tue, 20 Nov 2018 15:58:59 -0800 In-Reply-To: References: <20181120201432.2163-1-cai@gmx.us> <20181120232810.2503-1-cai@gmx.us> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.1-1build1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-11-21 at 00:54 +0100, Qian Cai wrote: > On 11/20/18 at 6:38 PM, Waiman Long wrote: > > On 11/20/2018 06:28 PM, Qian Cai wrote: > > > The current value of the early boot static pool size is not big enough > > > for systems with large number of CPUs with timer or/and workqueue > > > objects selected. As the results, systems have 60+ CPUs with both timer > > > and workqueue objects enabled could trigger "ODEBUG: Out of memory. > > > ODEBUG disabled". Hence, fixed it by computing it according to > > > CONFIG_NR_CPUS and CONFIG_DEBUG_OBJECTS_* options. [] > > > +#define ODEBUG_POOL_SIZE (ODEBUG_DEFAULT_POOL + CONFIG_NR_CPUS * \ > > > +(ODEBUG_TIMERS_PCPU_CNT + ODEBUG_WORK_PCPU_CNT)) > > > > Just a nit about indentation. There should be some indentation in the > > continued line. > > I am fine to add that, but checkpatch.pl complained > that there should no spaces at the beginning of a > newline. Guess we just ignore the warning? > > “please, no spaces at the start of a line” It wants tabs '0x09' and not spaces '0x20'