Re: [PATCH] drivers/base/memory: Avoid overhead from for_each_present_section_nr()
From: David Hildenbrand
Date: Thu Apr 10 2025 - 10:26:23 EST
On 10.04.25 15:55, Oscar Salvador wrote:
On Thu, Apr 10, 2025 at 03:18:00PM +0200, David Hildenbrand wrote:
Staring at the end result and the particularly long comment, are we now
really any better than before 61659efdb35c?
I think we are.
I think you are right. The whole comment can IMHO be heavily simplified.
Makes it sound more complicated that it actually is ...
/*
* Create memory blocks to span all present memory sections. Take care
* of memory blocks that span multiple sections.
*/
Acked-by: David Hildenbrand <david@xxxxxxxxxx>
--
Cheers,
David / dhildenb