Re: [PATCH v8 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64

2018-05-06 Thread Jia He
On 5/5/2018 12:53 AM, Pavel Tatashin Wrote: I'm wondering, ain't simple enabling of config DEFERRED_STRUCT_PAGE_INIT provide even better speed-up? If that is the case then it seems like this series is not needed at all, right? I am not sure why is this config optional. It looks like it could be

Re: [PATCH v8 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64

2018-05-04 Thread Daniel Vacek
On Fri, May 4, 2018 at 6:53 PM, Pavel Tatashin wrote: >> I'm wondering, ain't simple enabling of config >> DEFERRED_STRUCT_PAGE_INIT provide even better speed-up? If that is the >> case then it seems like this series is not needed at all, right? >> I am not sure why is this config optional. It loo

Re: [PATCH v8 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64

2018-05-04 Thread Pavel Tatashin
> I'm wondering, ain't simple enabling of config > DEFERRED_STRUCT_PAGE_INIT provide even better speed-up? If that is the > case then it seems like this series is not needed at all, right? > I am not sure why is this config optional. It looks like it could be > enabled by default or even unconditio

Re: [PATCH v8 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64

2018-05-04 Thread Daniel Vacek
On Fri, May 4, 2018 at 4:45 AM, Jia He wrote: > Ping > > Sorry if I am a little bit verbose, but it can speedup the arm64 booting > time indeed. I'm wondering, ain't simple enabling of config DEFERRED_STRUCT_PAGE_INIT provide even better speed-up? If that is the case then it seems like this serie

Re: [PATCH v8 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64

2018-05-03 Thread Jia He
Ping Sorry if I am a little bit verbose, but it can speedup the arm64 booting time indeed. -- Cheers, Jia On 4/11/2018 3:21 PM, Jia He Wrote: Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") tried to optimize the loop in memmap_init_zone(). But there i

[PATCH v8 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64

2018-04-11 Thread Jia He
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") tried to optimize the loop in memmap_init_zone(). But there is still some room for improvement. Patch 1 introduce new config to make codes more generic Patch 2 remain the memblock_next_valid_pfn on arm and arm