The pmap_invalidate_all() here is definately not a good idea. We are

running with interrupts disabled, other cpus locked down, and only
making a temporary local mapping that we immediately back out again.

Tested by:	gallatin
This commit is contained in:
Peter Wemm 2002-07-15 23:11:49 +00:00
parent 55a7bf6b44
commit 239d85c5ad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100152
2 changed files with 4 additions and 4 deletions

View File

@ -276,7 +276,7 @@ db_write_bytes(addr, size, data)
}
}
pmap_invalidate_all(kernel_pmap);
invltlb();
}
dst = (char *)addr;
@ -292,7 +292,7 @@ db_write_bytes(addr, size, data)
if (ptep1)
*ptep1 = oldmap1;
pmap_invalidate_all(kernel_pmap);
invltlb();
}
}

View File

@ -276,7 +276,7 @@ db_write_bytes(addr, size, data)
}
}
pmap_invalidate_all(kernel_pmap);
invltlb();
}
dst = (char *)addr;
@ -292,7 +292,7 @@ db_write_bytes(addr, size, data)
if (ptep1)
*ptep1 = oldmap1;
pmap_invalidate_all(kernel_pmap);
invltlb();
}
}