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:
parent
55a7bf6b44
commit
239d85c5ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100152
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user