Eric Dumazet <dada1@xxxxxxxxxxxxx> writes:Yes. With NR_CPUS=4096, we save about half a megabyte per module. (!!!)
Instead of wasting NR_CPUS*128 bytes (on i386), we now use
num_possible_cpus*sizeof(local_t) bytes.
On a typical distro, where NR_CPUS=8,
More typical would be NR_CPUS=128, with NR_CPUS=four digits when Mike Travis et.al. are finished
Well, I should have stated that this saving also takes place in the module disk file.shiping 2000 modules, we reduce
Surely only the loaded modules count? Perhaps 20-30.
But it's a cool improvement. Very nice.Thanks