Re: [PATCH] mm: mempool: Optimize the mempool_create_node function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>

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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux