[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <473E168A.9060305@cosmosbay.com>
Date: Fri, 16 Nov 2007 23:15:38 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
"David S. Miller" <davem@...emloft.net>
CC: Linux kernel <linux-kernel@...r.kernel.org>,
Christoph Lameter <clameter@....com>
Subject: [PATCH] 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@...mosbay.com>
include/linux/percpu.h | 2 +-
mm/allocpercpu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
View attachment "percpu_data.patch" of type "text/plain" (786 bytes)
Powered by blists - more mailing lists