On 29.08.2022 12:47, Wei Chen wrote: >> -----Original Message----- >> From: Jan Beulich <jbeul...@suse.com> >> Sent: 2022年8月25日 20:50 >> >> On 22.08.2022 04:58, Wei Chen wrote: >>> +bool __init numa_memblks_available(void) >>> +{ >>> + return num_node_memblks < NR_NODE_MEMBLKS; >>> +} >> >> This is kind of clumsy, but I have no better suggestion. >> > > Did you mean the whole function or just the name?
The need for it (as even a non-inline function) primarily. Its name at least reflects its purpose, so would be okay-ish. Jan