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:
John Dyson 1996-05-21 00:39:39 +00:00
parent 2cfb684726
commit ed48f831e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15832
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;
}