Re: km_alloc(9) for i386 pmap

2021-04-23 Thread Mike Larkin
On Fri, Apr 23, 2021 at 08:07:43PM +0200, Martin Pieuchot wrote: > Diff below convert the last uses of uvm_km_alloc(9) and uvm_km_zalloc(9) > to km_alloc(9). > > One of the allocations below uses `kp_pageable' instead of `kp_zero' > because the mapping for `pm_pdir_intel' is lost when PAE is

Re: km_alloc(9) for i386 pmap

2021-04-23 Thread Alexander Bluhm
On Fri, Apr 23, 2021 at 08:07:43PM +0200, Martin Pieuchot wrote: > Diff below convert the last uses of uvm_km_alloc(9) and uvm_km_zalloc(9) > to km_alloc(9). > > One of the allocations below uses `kp_pageable' instead of `kp_zero' > because the mapping for `pm_pdir_intel' is lost when PAE is

Re: km_alloc(9) for i386 pmap

2021-04-23 Thread Mark Kettenis
> Date: Fri, 23 Apr 2021 20:07:43 +0200 > From: Martin Pieuchot > > Diff below convert the last uses of uvm_km_alloc(9) and uvm_km_zalloc(9) > to km_alloc(9). > > One of the allocations below uses `kp_pageable' instead of `kp_zero' > because the mapping for `pm_pdir_intel' is lost when PAE is

km_alloc(9) for i386 pmap

2021-04-23 Thread Martin Pieuchot
Diff below convert the last uses of uvm_km_alloc(9) and uvm_km_zalloc(9) to km_alloc(9). One of the allocations below uses `kp_pageable' instead of `kp_zero' because the mapping for `pm_pdir_intel' is lost when PAE is enabled and need to be re-established when a fault happens. This is consistent