Hi, I found some small optimizations while reading the code of memblock. Please help to review. Thanks. Peng Zhang (3): memblock: Make a boundary tighter in memblock_add_range(). memblock: Make finding index faster when modify regions. memblock: Avoid useless checks in memblock_merge_regions(). mm/memblock.c | 71 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 54 insertions(+), 17 deletions(-) -- 2.20.1