On 05.05.2022 15:44, Penny Zheng wrote: > I misunderstand what you suggested here, I thought you were suggesting a way > of stub function > which could bring some optimization. > The reason I introduced free_staticmem_pages and acquire_reserved_page here > is that > we now used them in common code, and if they are not defined(using stub) on > !CONFIG_STATIC_MEMORY, > we will have " hidden symbol `xxx' isn't defined " compilation error.
This is what I've asked for clarification about: If such errors surface, I'd like to understand why the respective call sites aren't DCE-ed by the compiler. Jan