Re: [PATCH v2] mm: kmalloc_index: make compiler break when size is not supported

From: Hyeonggon Yoo
Date: Mon May 10 2021 - 23:09:14 EST


On Mon, May 10, 2021 at 05:15:23PM +0200, Christoph Lameter wrote:
> I guess this needs to be reviewed and tested by the users of architectures
> that can use large MAXORDER pages such as powerpc and Itanium.

as Vlastimil Babka said, I think it's fine too. because
KMALLOC_SHIFT_HIGH can't be bigger than 25 regardless of MAX_ORDER