Messages in this thread | | | Date | Mon, 4 Jan 2010 11:27:07 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: [PATCH v2] slab: initialize unused alien cache entry as NULL at alloc_alien_cache(). |
| |
On Wed, 23 Dec 2009, Haicheng Li wrote:
> @@ -966,18 +966,16 @@ static void *alternate_node_alloc(struct kmem_cache *, > gfp_t); > static struct array_cache **alloc_alien_cache(int node, int limit, gfp_t gfp) > { > struct array_cache **ac_ptr; > - int memsize = sizeof(void *) * nr_node_ids; > + int memsize = sizeof(void *) * MAX_NUMNODES; > int i;
Remove this change and I will ack the patch.
| |