lkml.org 
[lkml]   [2010]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateMon, 4 Jan 2010 11:27:07 -0600 (CST)
FromChristoph Lameter <>
SubjectRe: [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.



\
 
 \ /
  Last update: 2010-01-04 18:29    [from the cache]
©2003-2010