Add missed sched_pin().

Submitted by:	Svatopluk Kraus <onwahe@gmail.com>
Reviewed by:	alc
MFC after:	3 days
This commit is contained in:
Konstantin Belousov 2012-10-24 18:21:22 +00:00
parent 5d26cae79d
commit 9065aa6497

View File

@ -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)) {