mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
arm64: Disable coverage sanitization of pmap_update_strided
The break-before-make update invalidates PTEs, including the PTE
pointing to curthread, causing a fault in `trace_pc`. This
addresses a similar issue in
01bb9a2a35
.
Reviewed by: markj
MFC after: 1 week
This commit is contained in:
parent
a78bacf3b0
commit
4f2ca36c7b
@ -4618,7 +4618,7 @@ pmap_update_entry(pmap_t pmap, pd_entry_t *ptep, pd_entry_t newpte,
|
||||
/*
|
||||
* Performs a break-before-make update of an ATTR_CONTIGUOUS mapping.
|
||||
*/
|
||||
static void
|
||||
static void __nosanitizecoverage
|
||||
pmap_update_strided(pmap_t pmap, pd_entry_t *ptep, pd_entry_t *ptep_end,
|
||||
pd_entry_t newpte, vm_offset_t va, vm_offset_t stride, vm_size_t size)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user