Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756847AbZANT33 (ORCPT ); Wed, 14 Jan 2009 14:29:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754980AbZANT3V (ORCPT ); Wed, 14 Jan 2009 14:29:21 -0500 Received: from turing-police.cc.vt.edu ([128.173.14.107]:55087 "EHLO turing-police.cc.vt.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753964AbZANT3U (ORCPT ); Wed, 14 Jan 2009 14:29:20 -0500 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Takashi Iwai Cc: Kyle McMartin , rusty@rustcorp.com.au, linux-kernel@vger.kernel.org Subject: Re: [PATCH] module: kzalloc mod->ref In-Reply-To: Your message of "Wed, 14 Jan 2009 17:25:31 +0100." From: Valdis.Kletnieks@vt.edu References: <20090114033533.GL25103@bombadil.infradead.org> <20090114155859.GO25103@bombadil.infradead.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1231961348_3678P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 14 Jan 2009 14:29:08 -0500 Message-ID: <24465.1231961348@turing-police.cc.vt.edu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1030 Lines: 32 --==_Exmh_1231961348_3678P Content-Type: text/plain; charset=us-ascii On Wed, 14 Jan 2009 17:25:31 +0100, Takashi Iwai said: > We can use nr_cpu_ids instead of NR_CPUS. > For a machine like 4096 CPUs, such an amount of memory is like a > peanut :) It's not peanuts if you're dealing with a distro kernel that's essentially forced to compile with NR_CPUS=, but booting on a single or dual core system with possibly not even 1G of memory. --==_Exmh_1231961348_3678P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQFJbj0EcC3lWbTT17ARAjA5AKCGpPk6L06dSDQK7283sGm2i7YTLgCfZSvP AHb7j/86QaqZAQZo2SsqpVY= =ieFn -----END PGP SIGNATURE----- --==_Exmh_1231961348_3678P-- -- 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/