Since 4590685546a3 ("mm/sl[aou]b: Common alignment code"), the "ralign"
automatic variable in __kmem_cache_create() may be used as uninitialized.
The proper alignment defaults to BYTES_PER_WORD and can be overridden by
SLAB_RED_ZONE or the alignment specified by the caller.
This fixes https://b
On Tue, 23 Sep 2014, David Rientjes wrote:
> The proper alignment defaults to BYTES_PER_WORD and can be overridden by
> SLAB_RED_ZONE or the alignment specified by the caller.
Where does it default to BYTES_PER_WORD in __kmem_cache_create?
--
To unsubscribe from this list: send the line "unsubscr
On Tue, 23 Sep 2014, Christoph Lameter wrote:
> > The proper alignment defaults to BYTES_PER_WORD and can be overridden by
> > SLAB_RED_ZONE or the alignment specified by the caller.
>
> Where does it default to BYTES_PER_WORD in __kmem_cache_create?
>
Previous to commit 4590685546a3 ("mm/sl[ao
On Tue, 23 Sep 2014, David Rientjes wrote:
> Previous to commit 4590685546a3 ("mm/sl[aou]b: Common alignment code")
> which introduced this issue.
Ah. Ok. I see and approve.
Acked-by: Christoph Lameter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a
4 matches
Mail list logo