mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
We need to decrease p->p_lock after vm_fault() has been called.
This commit is contained in:
parent
47b3d09bb0
commit
ad0557149f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146600
@ -428,7 +428,7 @@ data_abort_handler(trapframe_t *tf)
|
|||||||
|
|
||||||
if (map != kernel_map) {
|
if (map != kernel_map) {
|
||||||
PROC_LOCK(p);
|
PROC_LOCK(p);
|
||||||
p->p_lock++;
|
p->p_lock--;
|
||||||
PROC_UNLOCK(p);
|
PROC_UNLOCK(p);
|
||||||
}
|
}
|
||||||
if (user == 0) {
|
if (user == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user