Re: armv7 small bootstrap improvement/simplification

2017-07-06 Thread Artturi Alm
On Wed, Jul 05, 2017 at 09:40:41PM +0300, Artturi Alm wrote: > > diff --git a/sys/arch/armv7/armv7/armv7_machdep.c > b/sys/arch/armv7/armv7/armv7_machdep.c > index aa1c549b29b..105fbf1 100644 > --- a/sys/arch/armv7/armv7/armv7_machdep.c > +++ b/sys/arch/armv7/armv7/armv7_machdep.c > @@

Re: armv7 small bootstrap improvement/simplification

2017-07-05 Thread Artturi Alm
On Wed, Jul 05, 2017 at 04:05:16PM +0300, Artturi Alm wrote: > On Wed, Jul 05, 2017 at 11:27:06AM +0200, Mark Kettenis wrote: > > > Date: Wed, 5 Jul 2017 09:34:59 +0300 > > > From: Artturi Alm > > > > > > On Wed, Jul 05, 2017 at 02:27:46AM +0300, Artturi Alm wrote: > > > >

Re: armv7 small bootstrap improvement/simplification

2017-07-05 Thread Artturi Alm
On Wed, Jul 05, 2017 at 11:27:06AM +0200, Mark Kettenis wrote: > > Date: Wed, 5 Jul 2017 09:34:59 +0300 > > From: Artturi Alm > > > > On Wed, Jul 05, 2017 at 02:27:46AM +0300, Artturi Alm wrote: > > > Hi, > > > > > > instead of messing w/bs_tags, use the fact

Re: armv7 small bootstrap improvement/simplification

2017-07-05 Thread Mark Kettenis
> Date: Wed, 5 Jul 2017 09:34:59 +0300 > From: Artturi Alm > > On Wed, Jul 05, 2017 at 02:27:46AM +0300, Artturi Alm wrote: > > Hi, > > > > instead of messing w/bs_tags, use the fact pmap_kernel()->pm_refs is going > > to be 0 until pmap_bootstrap() has ran. tmp_bs_tag

Re: armv7 small bootstrap improvement/simplification

2017-07-05 Thread Artturi Alm
On Wed, Jul 05, 2017 at 02:27:46AM +0300, Artturi Alm wrote: > Hi, > > instead of messing w/bs_tags, use the fact pmap_kernel()->pm_refs is going > to be 0 until pmap_bootstrap() has ran. tmp_bs_tag was unused, and > bootstrap_bs_map doesn't need/use the void *t-arg when being ran indirectly >

Re: armv7 small bootstrap improvement/simplification

2017-07-04 Thread Artturi Alm
On Wed, Jul 05, 2017 at 02:27:46AM +0300, Artturi Alm wrote: > Hi, > > instead of messing w/bs_tags, use the fact pmap_kernel()->pm_refs is going > to be 0 until pmap_bootstrap() has ran. tmp_bs_tag was unused, and > bootstrap_bs_map doesn't need/use the void *t-arg when being ran indirectly >

armv7 small bootstrap improvement/simplification

2017-07-04 Thread Artturi Alm
Hi, instead of messing w/bs_tags, use the fact pmap_kernel()->pm_refs is going to be 0 until pmap_bootstrap() has ran. tmp_bs_tag was unused, and bootstrap_bs_map doesn't need/use the void *t-arg when being ran indirectly via armv7_bs_map(). the whole existence of bootstrap_bs_map is another