Re: arm: don't unnecessarily call pmap_extract()

2016-01-30 Thread Patrick Wildt
On Tue, Jan 26, 2016 at 07:32:40PM +1100, Jonathan Gray wrote: > On Sun, Jan 24, 2016 at 01:02:49AM +0100, Patrick Wildt wrote: > > Hi, > > > > there are two code points in the v7 pmap where we need the physical > > address (to flush secondary cache) and use pmap_extract() instead > > of just

Re: arm: don't unnecessarily call pmap_extract()

2016-01-30 Thread Patrick Wildt
On Sun, Jan 31, 2016 at 02:53:57PM +1100, Jonathan Gray wrote: > On Sat, Jan 30, 2016 at 08:01:00PM +0100, Patrick Wildt wrote: > > On Tue, Jan 26, 2016 at 07:32:40PM +1100, Jonathan Gray wrote: > > > On Sun, Jan 24, 2016 at 01:02:49AM +0100, Patrick Wildt wrote: > > > > Hi, > > > > > > > > there

Re: arm: don't unnecessarily call pmap_extract()

2016-01-30 Thread Jonathan Gray
On Sun, Jan 31, 2016 at 05:55:30AM +0100, Patrick Wildt wrote: > On Sun, Jan 31, 2016 at 02:53:57PM +1100, Jonathan Gray wrote: > > On Sat, Jan 30, 2016 at 08:01:00PM +0100, Patrick Wildt wrote: > > > On Tue, Jan 26, 2016 at 07:32:40PM +1100, Jonathan Gray wrote: > > > > On Sun, Jan 24, 2016 at

arm: don't unnecessarily call pmap_extract()

2016-01-23 Thread Patrick Wildt
Hi, there are two code points in the v7 pmap where we need the physical address (to flush secondary cache) and use pmap_extract() instead of just reading it from the vm page. This diff removes those. Patrick diff --git sys/arch/arm/arm/pmap7.c sys/arch/arm/arm/pmap7.c index 5bcc67b..78969bd