[adding some possibly interested parties to the cc line.] Chris J Arges wrote:Hi Chris, There was no particular reason for one or the other. We did have a patch a few months ago that added CPU_ALLOC functionality that was much cleaner than percpu_alloc (and replaced it), but due to circumstances it didn't actually make it into the source base. The percpu approach was the fallback. Other than insuring that any routines for bringing up/tearing down processors are in the __cpuinit/data sections and test as many different configs as you can. Also, increasing NR_CPUS to 4096 is one thing but I've been testing with "possible" cpus == 4096 and have hit some snags. The biggest right now is the enormous amount of memory that the kernel tracing facility requires. So trying out your code with a healthy amount of possible cpus will expose problems like this. Another thing that I've encountered is that you can add "additional_cpus" to the boot line, and the BIOS can signal that there are cpus present but currently disabled, but there's no way to bring these cpus online after bootup. One thought would be to register the cpu but make it offline. This has some advantages but it was felt that instead something more like: echo '32-63' > /sys/devices/system/cpu/online would startup and register cpus 32-63. This is orthogonal to the showing of which cpu's are online: # cat /sys/devices/system/cpu/online 0-31 Any suggestions along this area are welcome! Thanks, Mike --
| Alex Samad | page swap allocation error/failure in 2.6.25 |
| Bart Van Assche | Re: Integration of SCST in the mainstream Linux kernel |
| Andrea Arcangeli | [PATCH 06 of 11] rwsem contended |
| Chuck Ebbert | Why do so many machines need "noapic"? |
git: | |
| Andy Parkins | svn:externals using git submodules |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Marcus Griep | [PATCH] git-svn: Make it scream by minimizing temp files |
| Tommi Virtanen | [PATCH] "git shell" won't work, need "git-shell" |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Theo de Raadt | Re: Chatting with developers? Is it soo 1996? |
| Ted Unangst | Re: MAXDSIZ 1GB memory limit for process |
| Richard Stallman | Real men don't attack straw men |
| Denys Fedoryshchenko | Re: thousands of classes, e1000 TX unit hang |
| Suresh Siddha | Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch... |
| Simon Horman | Re: [PATCH] sendfile() and UDP socket |
| Jeff Garzik | Re: [PATCH] sky2: jumbo frame regression fix |
