Add missed sched_pin().
Submitted by: Svatopluk Kraus <onwahe@gmail.com> Reviewed by: alc MFC after: 3 days
This commit is contained in:
parent
5d26cae79d
commit
9065aa6497
@ -3221,6 +3221,7 @@ pmap_protect(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, vm_prot_t prot)
|
||||
PMAP_UNLOCK(pmap);
|
||||
goto resume;
|
||||
}
|
||||
sched_pin();
|
||||
}
|
||||
if (!pmap_demote_pde(pmap,
|
||||
&pmap->pm_pdir[pdirindex], sva)) {
|
||||
|
Loading…
Reference in New Issue
Block a user