linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] mm: mempool: Optimize the mempool_create_node function
       [not found] <20230315191243.3289-1-zeming@nfschina.com>
@ 2023-03-15 17:53 ` Florian Fainelli
  0 siblings, 0 replies; only message in thread
From: Florian Fainelli @ 2023-03-15 17:53 UTC (permalink / raw)
  To: Li zeming, akpm; +Cc: linux-mm, linux-kernel

On 3/15/23 12:12, Li zeming wrote:
> The pool pointer variable gets the kzalloc_node function return value
> directly at definition time, which should be more concise.
> 
> Signed-off-by: Li zeming <zeming@nfschina.com>

This looks pretty useless as a change, the generated code is going to be 
the same before/after, it is also not more readable, and it is 
definitively not an optimization in the sense that optimization should 
be used as meaning: the code is more efficient after that change.
-- 
Florian



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-15 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230315191243.3289-1-zeming@nfschina.com>
2023-03-15 17:53 ` [PATCH] mm: mempool: Optimize the mempool_create_node function Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).