Re: [PATCH] module: kzalloc mod->ref
From: Valdis . Kletnieks
Date: Wed Jan 14 2009 - 14:29:31 EST
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=<some moby integer>, but booting on a single or
dual core system with possibly not even 1G of memory.
Attachment:
pgp00000.pgp
Description: PGP signature