[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YwwuSBAreqUk/jFq@casper.infradead.org>
Date: Mon, 29 Aug 2022 04:11:04 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Dawei Li <set_pte_at@...look.com>
Cc: cl@...ux.com, penberg@...nel.org, rientjes@...gle.com,
iamjoonsoo.kim@....com, akpm@...ux-foundation.org, vbabka@...e.cz,
roman.gushchin@...ux.dev, 42.hyeyoo@...il.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: simplify size2index conversion of __kmalloc_index
On Sun, Aug 28, 2022 at 11:14:48PM +0800, Dawei Li wrote:
> Current size2index is implemented by one to one hardcode mapping,
> which can be improved by order_base_2().
> Must be careful to not violate compile-time optimization rule.
This patch has been NACKed before (when submitted by other people).
Powered by blists - more mailing lists