On 4/2/2018 3:00 PM, Ard Biesheuvel Wrote:
How much does it improve the performance? And in which cases?
I guess it improves boot time on systems with physical address spaces
that are sparsely populated with DRAM, but you really have to quantify
this if you want other people to care.
Yes, I
On 4/2/2018 3:00 PM, Ard Biesheuvel Wrote:
How much does it improve the performance? And in which cases?
I guess it improves boot time on systems with physical address spaces
that are sparsely populated with DRAM, but you really have to quantify
this if you want other people to care.
Yes, I
On 4/2/2018 2:55 PM, Ard Biesheuvel Wrote:
On 2 April 2018 at 04:30, Jia He <hejia...@gmail.com> wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But it causes
possible panic bug. So Danie
On 4/2/2018 2:55 PM, Ard Biesheuvel Wrote:
On 2 April 2018 at 04:30, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But it causes
possible panic bug. So Daniel Vacek reverte
d
memblock region index and check check pfn++ is still in the same region.
Currently it only improve the performance on arm64 and will have no
impact on other arches.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/mmzone.h | 7 ++-
1 file changed, 6 insertions(+), 1 d
d
memblock region index and check check pfn++ is still in the same region.
Currently it only improve the performance on arm64 and will have no
impact on other arches.
Signed-off-by: Jia He
---
include/linux/mmzone.h | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/inc
This is the preparation for further optimizing in early_pfn_valid
on arm and arm64.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/arm/include/asm/page.h | 3 ++-
arch/arm/mm/init.c| 24
arch/arm64/include/asm/page.h | 3 ++-
arch/ar
This is the preparation for further optimizing in early_pfn_valid
on arm and arm64.
Signed-off-by: Jia He
---
arch/arm/include/asm/page.h | 3 ++-
arch/arm/mm/init.c| 24
arch/arm64/include/asm/page.h | 3 ++-
arch/arm64/mm/init.c | 24
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 9 +
2 files changed, 11 insertions(+)
diff --git a/include/linux/memblock.h b/include/linux/memb
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 9 +
2 files changed, 11 insertions(+)
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index 0257aee..a0127b3 100644
t_valid_pfn on arm64
- refine memblock_search_pfn_regions and pfn_valid_region
Jia He (5):
mm: page_alloc: remain memblock_next_valid_pfn() on arm and arm64
arm: arm64: page_alloc: reduce unnecessary binary search in
memblock_next_valid_pfn()
mm/memblock: introduce memblock_search_pfn_re
ary search
in memblock_next_valid_pfn.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/arm/include/asm/page.h | 1 +
arch/arm/mm/init.c| 28 ++--
arch/arm64/include/asm/page.h | 1 +
arch/arm64/mm/init.c | 28 ++--
4 f
Vacek <ne...@redhat.com>
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/arm/include/asm/page.h | 2 ++
arch/arm/mm/init.c| 31 ++-
arch/arm64/include/asm/page.h | 2 ++
arch/arm64/mm/init.c | 31 ++-
t_valid_pfn on arm64
- refine memblock_search_pfn_regions and pfn_valid_region
Jia He (5):
mm: page_alloc: remain memblock_next_valid_pfn() on arm and arm64
arm: arm64: page_alloc: reduce unnecessary binary search in
memblock_next_valid_pfn()
mm/memblock: introduce memblock_search_pfn_re
ary search
in memblock_next_valid_pfn.
Signed-off-by: Jia He
---
arch/arm/include/asm/page.h | 1 +
arch/arm/mm/init.c| 28 ++--
arch/arm64/include/asm/page.h | 1 +
arch/arm64/mm/init.c | 28 ++--
4 files changed, 46 insertions(+), 12
Signed-off-by: Jia He
---
arch/arm/include/asm/page.h | 2 ++
arch/arm/mm/init.c| 31 ++-
arch/arm64/include/asm/page.h | 2 ++
arch/arm64/mm/init.c | 31 ++-
include/linux/mmzone.h| 1 +
mm/page_alloc.c
This is the preparation for further optimizing in early_pfn_valid
on arm and arm64.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/arm/include/asm/page.h | 3 ++-
arch/arm/mm/init.c| 23 +++
arch/arm64/include/asm/page.h | 3 ++-
arch/arm64/mm/
This is the preparation for further optimizing in early_pfn_valid
on arm and arm64.
Signed-off-by: Jia He
---
arch/arm/include/asm/page.h | 3 ++-
arch/arm/mm/init.c| 23 +++
arch/arm64/include/asm/page.h | 3 ++-
arch/arm64/mm/init.c | 23
d
memblock region index and check check pfn++ is still in the same region.
Currently it only improve the performance on arm64 and will have no
impact on other arches.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/mmzone.h | 7 ++-
1 file changed, 6 insertions(+), 1 d
d
memblock region index and check check pfn++ is still in the same region.
Currently it only improve the performance on arm64 and will have no
impact on other arches.
Signed-off-by: Jia He
---
include/linux/mmzone.h | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/inc
ary search
in memblock_next_valid_pfn.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/arm/include/asm/page.h | 1 +
arch/arm/mm/init.c| 31 ---
arch/arm64/include/asm/page.h | 1 +
arch/arm64/mm/init.c | 31 ---
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 9 +
2 files changed, 11 insertions(+)
diff --git a/include/linux/memblock.h b/include/linux/memb
ary search
in memblock_next_valid_pfn.
Signed-off-by: Jia He
---
arch/arm/include/asm/page.h | 1 +
arch/arm/mm/init.c| 31 ---
arch/arm64/include/asm/page.h | 1 +
arch/arm64/mm/init.c | 31 ---
mm/page_alloc.c
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 9 +
2 files changed, 11 insertions(+)
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index 0257aee..a0127b3 100644
- refine patches as suggested by Danial Vacek and Wei Yang
- optimized on arm besides arm64
V3: - fix 2 issues reported by kbuild test robot
V2: - rebase to mmotm latest
- remain memblock_next_valid_pfn on arm64
- refine memblock_search_pfn_regions and pfn_valid_region
Jia He (5)
- refine patches as suggested by Danial Vacek and Wei Yang
- optimized on arm besides arm64
V3: - fix 2 issues reported by kbuild test robot
V2: - rebase to mmotm latest
- remain memblock_next_valid_pfn on arm64
- refine memblock_search_pfn_regions and pfn_valid_region
Jia He (5)
Vacek <ne...@redhat.com>
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/arm/mm/init.c | 31 ++-
arch/arm64/mm/init.c | 31 ++-
mm/page_alloc.c | 13 -
3 files changed, 72 insertions(+), 3 deletions(-)
diff --git
Signed-off-by: Jia He
---
arch/arm/mm/init.c | 31 ++-
arch/arm64/mm/init.c | 31 ++-
mm/page_alloc.c | 13 -
3 files changed, 72 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index a1f11a
On 3/30/2018 9:43 AM, Wei Yang Wrote:
On Thu, Mar 29, 2018 at 04:06:38PM +0800, Jia He wrote:
On 3/28/2018 5:26 PM, Wei Yang Wrote:
On Sun, Mar 25, 2018 at 08:02:16PM -0700, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible")
On 3/30/2018 9:43 AM, Wei Yang Wrote:
On Thu, Mar 29, 2018 at 04:06:38PM +0800, Jia He wrote:
On 3/28/2018 5:26 PM, Wei Yang Wrote:
On Sun, Mar 25, 2018 at 08:02:16PM -0700, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible")
On 3/28/2018 5:26 PM, Wei Yang Wrote:
On Sun, Mar 25, 2018 at 08:02:16PM -0700, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But there is
still some room for improvement. E.g. if pfn
On 3/28/2018 5:26 PM, Wei Yang Wrote:
On Sun, Mar 25, 2018 at 08:02:16PM -0700, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But there is
still some room for improvement. E.g. if pfn
On 3/28/2018 5:18 PM, Wei Yang Wrote:
Oops, I should reply this thread. Forget about the reply on another thread.
On Sun, Mar 25, 2018 at 08:02:15PM -0700, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimize
On 3/28/2018 5:18 PM, Wei Yang Wrote:
Oops, I should reply this thread. Forget about the reply on another thread.
On Sun, Mar 25, 2018 at 08:02:15PM -0700, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimize
On 3/28/2018 12:52 AM, Daniel Vacek Wrote:
On Sat, Mar 24, 2018 at 1:24 PM, Jia He <hejia...@gmail.com> wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But it causes
possible panic bug.
On 3/28/2018 12:52 AM, Daniel Vacek Wrote:
On Sat, Mar 24, 2018 at 1:24 PM, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But it causes
possible panic bug. So Daniel Vacek reverte
On 3/28/2018 1:51 AM, Daniel Vacek Wrote:
On Mon, Mar 26, 2018 at 5:02 AM, Jia He <hejia...@gmail.com> wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But there is
still some room for
On 3/28/2018 1:51 AM, Daniel Vacek Wrote:
On Mon, Mar 26, 2018 at 5:02 AM, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But there is
still some room for improvement. E.g. in early
On 3/28/2018 1:17 AM, Daniel Vacek Wrote:
On Mon, Mar 26, 2018 at 5:02 AM, Jia He <hejia...@gmail.com> wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But there is
still some room for
On 3/28/2018 1:17 AM, Daniel Vacek Wrote:
On Mon, Mar 26, 2018 at 5:02 AM, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But there is
still some room for improvement. E.g. if pfn
On 3/28/2018 12:52 AM, Daniel Vacek Wrote:
On Sat, Mar 24, 2018 at 1:24 PM, Jia He <hejia...@gmail.com> wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But it causes
possible panic bug.
On 3/28/2018 12:52 AM, Daniel Vacek Wrote:
On Sat, Mar 24, 2018 at 1:24 PM, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But it causes
possible panic bug. So Daniel Vacek reverte
On 3/28/2018 8:30 AM, Wei Yang Wrote:
On Tue, Mar 27, 2018 at 03:15:08PM +0800, Jia He wrote:
On 3/27/2018 9:02 AM, Wei Yang Wrote:
On Sun, Mar 25, 2018 at 08:02:14PM -0700, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible&qu
On 3/28/2018 8:30 AM, Wei Yang Wrote:
On Tue, Mar 27, 2018 at 03:15:08PM +0800, Jia He wrote:
On 3/27/2018 9:02 AM, Wei Yang Wrote:
On Sun, Mar 25, 2018 at 08:02:14PM -0700, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible&qu
On 3/27/2018 9:02 AM, Wei Yang Wrote:
On Sun, Mar 25, 2018 at 08:02:14PM -0700, 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 is still some room for improvement
On 3/27/2018 9:02 AM, Wei Yang Wrote:
On Sun, Mar 25, 2018 at 08:02:14PM -0700, 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 is still some room for improvement
This is the preparation for further optimizing in early_pfn_valid
on arm64.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/arm64/include/asm/page.h | 3 ++-
arch/arm64/mm/init.c | 25 -
2 files changed, 26 insertions(+), 2 deletions(-)
diff
d
memblock region index and check check pfn++ is still in the same region.
Currently it only improve the performance on arm64 and will have no
impact on other arches.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/x86/include/asm/mmzone_32.h | 2 +-
include/linux/mmzone.
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 9 +
2 files changed, 11 insertions(+)
diff --git a/include/linux/memblock.h b/include/linux/memb
This is the preparation for further optimizing in early_pfn_valid
on arm64.
Signed-off-by: Jia He
---
arch/arm64/include/asm/page.h | 3 ++-
arch/arm64/mm/init.c | 25 -
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/include/asm
d
memblock region index and check check pfn++ is still in the same region.
Currently it only improve the performance on arm64 and will have no
impact on other arches.
Signed-off-by: Jia He
---
arch/x86/include/asm/mmzone_32.h | 2 +-
include/linux/mmzone.h | 12 +---
mm/pa
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 9 +
2 files changed, 11 insertions(+)
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index a8fb2ab..104bca6 100644
ary search
in memblock_next_valid_pfn. This patch only works when
CONFIG_HAVE_ARCH_PFN_VALID is enable.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/memblock.h | 2 +-
mm/memblock.c| 73 +---
mm/page_alloc.c | 3 +-
s verified by Eugeniu Rosca, arm can benifit from this
commit. So remain the memblock_next_valid_pfn.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/memblock.h | 4
mm/memblock.c| 29 +
mm/page_alloc.c | 11 ++-
ary search
in memblock_next_valid_pfn. This patch only works when
CONFIG_HAVE_ARCH_PFN_VALID is enable.
Signed-off-by: Jia He
---
include/linux/memblock.h | 2 +-
mm/memblock.c| 73 +---
mm/page_alloc.c | 3 +-
3 files changed, 47 inserti
s verified by Eugeniu Rosca, arm can benifit from this
commit. So remain the memblock_next_valid_pfn.
Signed-off-by: Jia He
---
include/linux/memblock.h | 4
mm/memblock.c| 29 +
mm/page_alloc.c | 11 ++-
3 files changed, 43 insert
[ 87.233160] after memmap_init
>>> memmap_init takes 3249 us
>>> totally takes 24345 us
Changelog:
V3: - fix 2 issues reported by kbuild test robot
V2: - rebase to mmotm latest
- remain memblock_next_valid_pfn on arm64
- refine memblock_search_pfn_regions and pfn
[ 87.233160] after memmap_init
>>> memmap_init takes 3249 us
>>> totally takes 24345 us
Changelog:
V3: - fix 2 issues reported by kbuild test robot
V2: - rebase to mmotm latest
- remain memblock_next_valid_pfn on arm64
- refine memblock_search_pfn_regions and pfn
d
memblock region index and check if pfn++ is still in the same region.
Currently it only improve the performance on arm64 and will have no
impact on other arches.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/x86/include/asm/mmzone_32.h | 2 +-
include/linux/mmzone.
d
memblock region index and check if pfn++ is still in the same region.
Currently it only improve the performance on arm64 and will have no
impact on other arches.
Signed-off-by: Jia He
---
arch/x86/include/asm/mmzone_32.h | 2 +-
include/linux/mmzone.h | 12 +---
mm/pa
This is the preparation for further optimizing in early_pfn_valid
on arm64.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/arm64/include/asm/page.h | 3 ++-
arch/arm64/mm/init.c | 25 -
2 files changed, 26 insertions(+), 2 deletions(-)
diff
This is the preparation for further optimizing in early_pfn_valid
on arm64.
Signed-off-by: Jia He
---
arch/arm64/include/asm/page.h | 3 ++-
arch/arm64/mm/init.c | 25 -
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/include/asm
ary search
in memblock_next_valid_pfn.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/memblock.h | 2 +-
mm/memblock.c| 73 +---
mm/page_alloc.c | 3 +-
3 files changed, 47 insertions(+), 31 deletions(-)
diff --git
ary search
in memblock_next_valid_pfn.
Signed-off-by: Jia He
---
include/linux/memblock.h | 2 +-
mm/memblock.c| 73 +---
mm/page_alloc.c | 3 +-
3 files changed, 47 insertions(+), 31 deletions(-)
diff --git a/include/linux/memblock.h b/inc
60] after memmap_init
>>> memmap_init takes 3249 us
>>> totally takes 24345 us
Changelog:
V2: - rebase to mmotm latest
- remain memblock_next_valid_pfn on arm64
- refine memblock_search_pfn_regions and pfn_valid_region
Jia He (5):
mm: page_alloc: remain memblock_next_
60] after memmap_init
>>> memmap_init takes 3249 us
>>> totally takes 24345 us
Changelog:
V2: - rebase to mmotm latest
- remain memblock_next_valid_pfn on arm64
- refine memblock_search_pfn_regions and pfn_valid_region
Jia He (5):
mm: page_alloc: remain memblock_next_
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 9 +
2 files changed, 11 insertions(+)
diff --git a/include/linux/memblock.h b/include/linux/memb
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 9 +
2 files changed, 11 insertions(+)
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index a8fb2ab..104bca6 100644
s verified by Eugeniu Rosca, arm can benifit from this
commit. So remain the memblock_next_valid_pfn.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/memblock.h | 4
mm/memblock.c| 29 +
mm/page_alloc.c | 11 ++-
s verified by Eugeniu Rosca, arm can benifit from this
commit. So remain the memblock_next_valid_pfn.
Signed-off-by: Jia He
---
include/linux/memblock.h | 4
mm/memblock.c| 29 +
mm/page_alloc.c | 11 ++-
3 files changed, 43 insert
On 3/21/2018 6:14 PM, Daniel Vacek Wrote:
On Wed, Mar 21, 2018 at 9:09 AM, Jia He <hejia...@gmail.com> wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But there is
still some room for
On 3/21/2018 6:14 PM, Daniel Vacek Wrote:
On Wed, Mar 21, 2018 at 9:09 AM, Jia He wrote:
Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") optimized the loop in memmap_init_zone(). But there is
still some room for improvement. E.g. if pfn
Hi Daniel
Thanks for the review
On 3/21/2018 6:14 PM, Daniel Vacek Wrote:
On Wed, Mar 21, 2018 at 9:09 AM, Jia He <hejia...@gmail.com> wrote:
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linu
Hi Daniel
Thanks for the review
On 3/21/2018 6:14 PM, Daniel Vacek Wrote:
On Wed, Mar 21, 2018 at 9:09 AM, Jia He wrote:
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 12
+ is still in
the same region.
Currently it only improves the performance on arm64 and has no impact on
other arches.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/x86/include/asm/mmzone_32.h | 2 +-
include/linux/mmzone.h | 12 +---
mm/page_alloc.c
+ is still in
the same region.
Currently it only improves the performance on arm64 and has no impact on
other arches.
Signed-off-by: Jia He
---
arch/x86/include/asm/mmzone_32.h | 2 +-
include/linux/mmzone.h | 12 +---
mm/page_alloc.c | 2 +-
3 files changed, 11 insert
This is the preparation for further optimizing in early_pfn_valid
on arm64.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
arch/arm64/include/asm/page.h | 3 ++-
arch/arm64/mm/init.c | 19 ++-
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git
This is the preparation for further optimizing in early_pfn_valid
on arm64.
Signed-off-by: Jia He
---
arch/arm64/include/asm/page.h | 3 ++-
arch/arm64/mm/init.c | 19 ++-
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/include/asm/page.h b
ary search
in memblock_next_valid_pfn.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/memblock.h | 3 +--
mm/memblock.c| 23 +++
mm/page_alloc.c | 3 ++-
3 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/include/linux/memblock.h
after memmap_init
>>> memmap_init takes 3850 us
[ 87.209416] before memmap_init
[ 87.226662] after memmap_init
>>> memmap_init takes 17246 us
[ 87.229911] before memmap_init
[ 87.233160] after memmap_init
>>> memmap_init takes 3249 us
>>> tota
ary search
in memblock_next_valid_pfn.
Signed-off-by: Jia He
---
include/linux/memblock.h | 3 +--
mm/memblock.c| 23 +++
mm/page_alloc.c | 3 ++-
3 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
ind
after memmap_init
>>> memmap_init takes 3850 us
[ 87.209416] before memmap_init
[ 87.226662] after memmap_init
>>> memmap_init takes 17246 us
[ 87.229911] before memmap_init
[ 87.233160] after memmap_init
>>> memmap_init takes 3249 us
>>> tota
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 12
2 files changed, 14 insertions(+)
diff --git a/include/linux/memblock.h b/include/linux/memb
This api is the preparation for further optimizing early_pfn_valid
Signed-off-by: Jia He
---
include/linux/memblock.h | 2 ++
mm/memblock.c| 12
2 files changed, 14 insertions(+)
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index 9471db4..5f46956
On 3/16/2018 5:06 PM, Michal Hocko Wrote:
On Thu 15-03-18 19:56:06, Jia He wrote:
This reverts commit 379b03b7fa05f7db521b7732a52692448a3c34fe.
Commit 864b75f9d6b0 ("mm/page_alloc: fix memmap_init_zone pageblock
alignment") introduced boot hang issues in arm/arm64 machines, so
Ard
On 3/16/2018 5:06 PM, Michal Hocko Wrote:
On Thu 15-03-18 19:56:06, Jia He wrote:
This reverts commit 379b03b7fa05f7db521b7732a52692448a3c34fe.
Commit 864b75f9d6b0 ("mm/page_alloc: fix memmap_init_zone pageblock
alignment") introduced boot hang issues in arm/arm64 machines, so
Ard
for commit 864b75f9d6b0. So just revert it for
the sake of caution.
Signed-off-by: Jia He <jia...@hxt-semitech.com>
---
mm/memblock.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mm/memblock.c b/mm/memblock.c
index b6ba6b7..5a9ca2a 100644
--- a/mm/memblock.c
+++
for commit 864b75f9d6b0. So just revert it for
the sake of caution.
Signed-off-by: Jia He
---
mm/memblock.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mm/memblock.c b/mm/memblock.c
index b6ba6b7..5a9ca2a 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -1107,7 +1107,7 @
On 3/15/2018 11:39 PM, Daniel Vacek Wrote:
On Thu, Mar 15, 2018 at 3:08 PM, Jia He <hejia...@gmail.com> wrote:
Hi Daniel
On 3/14/2018 6:42 AM, Daniel Vacek Wrote:
On some architectures (reported on arm64) commit 864b75f9d6b01
("mm/page_alloc: fix memmap_init_zone pagebloc
On 3/15/2018 11:39 PM, Daniel Vacek Wrote:
On Thu, Mar 15, 2018 at 3:08 PM, Jia He wrote:
Hi Daniel
On 3/14/2018 6:42 AM, Daniel Vacek Wrote:
On some architectures (reported on arm64) commit 864b75f9d6b01
("mm/page_alloc: fix memmap_init_zone pageblock alignment")
causes a
n will be (unsigned long)-1 and be larger than pfn.
So still there is an infinite loop here.
Cheers,
Jia He
#endif
continue;
}
--
Cheers,
Jia
hus, next_pfn will be (unsigned long)-1 and be larger than pfn.
So still there is an infinite loop here.
Cheers,
Jia He
#endif
continue;
}
--
Cheers,
Jia
On 2/7/2018 7:41 PM, Lorenzo Pieralisi Wrote:
On Tue, Feb 06, 2018 at 08:11:34PM -0800, Jia He wrote:
In commit 316ca8804ea8 ("ACPI/IORT: Remove linker section for IORT entries
probing"), iort entries was removed in vmlinux.lds.h. But in
commit 2fcc112af37f ("clocksource/
On 2/7/2018 7:41 PM, Lorenzo Pieralisi Wrote:
On Tue, Feb 06, 2018 at 08:11:34PM -0800, Jia He wrote:
In commit 316ca8804ea8 ("ACPI/IORT: Remove linker section for IORT entries
probing"), iort entries was removed in vmlinux.lds.h. But in
commit 2fcc112af37f ("clocksource/
some useless symbols, so fix it.
Signed-off-by: Jia He <hejia...@gmail.com>
---
include/asm-generic/vmlinux.lds.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/asm-generic/vmlinux.lds.h
b/include/asm-generic/vmlinux.lds.h
index 1ab0e52..58b1dab 100644
--- a/include/asm-g
some useless symbols, so fix it.
Signed-off-by: Jia He
---
include/asm-generic/vmlinux.lds.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/asm-generic/vmlinux.lds.h
b/include/asm-generic/vmlinux.lds.h
index 1ab0e52..58b1dab 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b
Hi Christoffer
Sorry for the late, I ever thought you would send out v2 with isb(). It
seems not.
On 12/15/2017 6:04 PM, Christoffer Dall Wrote:
On Fri, Dec 15, 2017 at 10:27:02AM +0800, Jia He wrote:
[...]
[...]
Meanwhile, I think I thought of a cleaner way to do this. Could you
test
Hi Christoffer
Sorry for the late, I ever thought you would send out v2 with isb(). It
seems not.
On 12/15/2017 6:04 PM, Christoffer Dall Wrote:
On Fri, Dec 15, 2017 at 10:27:02AM +0800, Jia He wrote:
[...]
[...]
Meanwhile, I think I thought of a cleaner way to do this. Could you
test
On 12/14/2017 11:45 PM, Christoffer Dall Wrote:
On Thu, Dec 14, 2017 at 11:28:04PM +0800, Jia He wrote:
On 12/14/2017 9:09 PM, Christoffer Dall Wrote:
On Thu, Dec 14, 2017 at 12:57:54PM +0800, Jia He wrote:
Hi Jia,
I have tried your newer level-mapped-v7 branch, but bug is still
On 12/14/2017 11:45 PM, Christoffer Dall Wrote:
On Thu, Dec 14, 2017 at 11:28:04PM +0800, Jia He wrote:
On 12/14/2017 9:09 PM, Christoffer Dall Wrote:
On Thu, Dec 14, 2017 at 12:57:54PM +0800, Jia He wrote:
Hi Jia,
I have tried your newer level-mapped-v7 branch, but bug is still
301 - 400 of 626 matches
Mail list logo