[PATCH] use alloc_percpu in percpu_counters
From: Martin Hicks <mort@wildopensource.com> Once NR_CPUS exceeds about 300 ext2 and ext3 will not compile, because the percpu counters in the superblocks are so huge that they cannot be kmalloced. Fix this by converting the percpu_counter mechanism to use alloc_percpu() rather than an NR_CPUS-sized array.
Showing
Please register or sign in to comment