Re: [RFC 2/2] mm, sl[aou]b: test whether kmalloc() alignment works as expected

From: Christopher Lameter
Date: Tue Mar 19 2019 - 20:44:28 EST


On Tue, 19 Mar 2019, Vlastimil Babka wrote:

> Quick and dirty init test that kmalloc() alignment works as expected for
> power-of-two sizes after the previous patch.

There is already an allocator testing function in mm/slub.c. Can you
generalize it or portions and put the into mm/slab_common.c?