summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-wsem.h
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-02-06 10:37:01 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 19:41:04 +0100
commitb3242151906372f30f57feaa43b4cac96a23edb1 (patch)
treed258219aa13dfeae8d9fb5db1fd220a0664a680d /lib/locking-selftest-wsem.h
parentDocument I_SYNC and I_DATASYNC (diff)
downloadlinux-b3242151906372f30f57feaa43b4cac96a23edb1.tar.xz
linux-b3242151906372f30f57feaa43b4cac96a23edb1.zip
PERCPU : __percpu_alloc_mask() can dynamically size percpu_data storage
Instead of allocating a fix sized array of NR_CPUS pointers for percpu_data, we can use nr_cpu_ids, which is generally < NR_CPUS. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Cc: Christoph Lameter <clameter@sgi.com> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions