Re: Cache page tables on armv7

2016-08-06 Thread Daniel Bolgheroni
On Sat, Aug 06, 2016 at 12:02:53PM +0200, Mark Kettenis wrote: > I'd appreciate it if somebody could test this on a system with a > Cortex-A8 processor. Before this patch, it used to take around 58 min to build kernel on BeagleBone Black here. It's now taking around 23 min. -- db

Re: Cache page tables on armv7

2016-08-06 Thread Marcus Glocker
On Sat, Aug 06, 2016 at 12:02:53PM +0200, Mark Kettenis wrote: > The diff below puts the page tables on armv7 in cachable memory. This > should speed things up a little bit, especially on processors that > walk the page tables coherently, which is pretty much all of them > except for Cortex-A8.

Cache page tables on armv7

2016-08-06 Thread Mark Kettenis
The diff below puts the page tables on armv7 in cachable memory. This should speed things up a little bit, especially on processors that walk the page tables coherently, which is pretty much all of them except for Cortex-A8. We check whether the page table walk is coherent by checking the aprprop