Re: [PATCH v3] mm, slub: change run-time assertion in kmalloc_index() to compile-time

Hyeonggon Yoo
2021-05-13T12:12:40Z

On Thu, May 13, 2021 at 09:08:29PM +0900, Hyeonggon Yoo wrote:
> I completely agree on what Vlastimil said. there should be comment
> saying that generally you should not use kmalloc_index with
> size_is_const == true.

sorry there was human error.
what I mean was: size_is_const == false