lkml.org 
[lkml]   [2008]   [Mar]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 25 Mar 2008 22:27:25 +0100
From"Oliver Pinter" <>
SubjectRe: [PATCH] list_add corruption in slab.c
Hi Pekka

this patch for 2.6.22?
(http://repo.or.cz/w/linux-2.6.22.y-op.git)

--8<--
        /* 1) create the cache_cache */
        INIT_LIST_HEAD(&cache_chain);
        list_add(&cache_cache.next, &cache_chain);
        cache_cache.colour_off = cache_line_size();
        cache_cache.array[smp_processor_id()] = &initarray_cache.cache;
        cache_cache.nodelists[node] = &initkmem_list3[CACHE_CACHE];
-->8--
from 2.6.22's slab.c
On 3/25/08, Pekka Enberg <penberg@cs.helsinki.fi> wrote:
> Hi Daniel,
>
> Daniel Yeisley wrote:
> > I actually saw that initkmem_list reference, but didn't change it since
> > my original patch fixed my list corruption.  Anyway, I made the changed
> > and tested it.  The system booted fine.
>
> Yeah, but the second change is needed; otherwise we forget to fix up
> some of the bootstrap caches.
>
>  > Signed-off-by: Dan Yeisley <dan.yeisley@unisys.com>
>
> Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
>
> Mel, as this change is related to the memoryless node fix that went in
> 2.6.24, any chance you'd give this patch a spin on your machines so we
> can get the fix in 2.6.25 and 2.6.24-stable?
>
> 			Pekka
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


-- 
Thanks,
Oliver
\
 
 \ /
  Last update: 2008-03-25 22:31    [from the cache]
©2003-2008