Re: [PATCH] slab: Fix too strict alignment check in create_cache()

From: Christoph Lameter (Ampere)
Date: Fri Nov 22 2024 - 13:54:56 EST


On Fri, 22 Nov 2024, Lorenzo Stoakes wrote:

> An aside, but note that there is a proposal to add nommu support to UML,
> which would entirely prevent our ability to eliminate it [0] (though it
> would make testing it easier! :)

Ok back to the alignment check. The patch is ok and an improvement since
it properly checks for the alignment of the scalar and does not assume
that a scalar is naturally aligned. That may not be necessary but it is
formally more correct.

So

Acked-by: Christoph Lameter <cl@xxxxxxxxx>