Messages in this thread | | | From | Pavel Tatashin <> | Date | Mon, 2 Jul 2018 23:03:01 -0400 | Subject | Re: [PATCH v9 2/6] mm: page_alloc: remain memblock_next_valid_pfn() on arm/arm64 |
| |
Can you put it into memblock.c
> Do you think it looks ok if I add the inline prefix?
I would say no, this function is a too complex, and is not in some critical path to be always inlined.
I would put it into memblock.c, and have #ifdef CONFIG_HAVE_MEMBLOCK_PFN_VALID around it.
Thank you, Pavel
| |