• Andrew Morton's avatar
    [PATCH] Force cache alignment of task_structs · 39cb2588
    Andrew Morton authored
    I enabled the advanced use-after-free detector for large slab objects and the
    kernel oopsed.  This is because that debug code adds things at the head of
    the slab objects, and the kernel will die if task_structs are not
    well-aligned.
    
    The way to tell the slab allocator that it is not allowed to misalign objects
    from this slab is SLAB_MUST_HWCACHE_ALIGN.
    39cb2588
fork.c 28.4 KB