To quote Stephen McKay: pmap_copy is a complex NOP at this moment :-).

With this fix from Stephen, we are getting the target fork performance
that I have been trying to attain: P5-166, before the mega-commit: 700-800usecs,
after: 600usecs, with Stephen's fix: 500usecs!!!  Also, this could be the
solution of some strange panic problems...
Reviewed by:	dyson@freebsd.org
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
This commit is contained in:
dyson 1996-05-21 00:39:39 +00:00
parent f75c739b82
commit daaf2e922f
2 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
* $Id: pmap.c,v 1.90 1996/05/18 03:36:14 dyson Exp $
* $Id: pmap.c,v 1.91 1996/05/19 07:36:37 dyson Exp $
*/
/*
@ -1943,7 +1943,7 @@ pmap_copy(dst_pmap, src_pmap, dst_addr, len, src_addr)
pdnxt = ((addr + PAGE_SIZE*NPTEPG) & ~(PAGE_SIZE*NPTEPG - 1));
srcptepaddr = (vm_offset_t) src_pmap->pm_pdir[addr >> PDRSHIFT];
if (srcptepaddr) {
if (srcptepaddr == 0) {
continue;
}

View File

@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
* $Id: pmap.c,v 1.90 1996/05/18 03:36:14 dyson Exp $
* $Id: pmap.c,v 1.91 1996/05/19 07:36:37 dyson Exp $
*/
/*
@ -1943,7 +1943,7 @@ pmap_copy(dst_pmap, src_pmap, dst_addr, len, src_addr)
pdnxt = ((addr + PAGE_SIZE*NPTEPG) & ~(PAGE_SIZE*NPTEPG - 1));
srcptepaddr = (vm_offset_t) src_pmap->pm_pdir[addr >> PDRSHIFT];
if (srcptepaddr) {
if (srcptepaddr == 0) {
continue;
}