On 08/23/2018 06:07 AM, Wei Yang wrote: > And it is known, __highest_present_section_nr is a more strict boundary > than NR_MEM_SECTIONS. What is the benefit of this patch? You're adding a more "strict" boundary, but you're also adding a potential cacheline miss and removing optimizations that the compiler can make with a constant vs. a variable. Providing absolute bounds limits that the compiler knows about can actually be pretty handy for it to optimize things Do you have *any* analysis to show that this has a benefit? What does it do to text size, for instance?