svn commit: r320358 - stable/11/sys/vm
Konstantin Belousov
kib at FreeBSD.org
Mon Jun 26 12:37:13 UTC 2017
Author: kib
Date: Mon Jun 26 12:37:11 2017
New Revision: 320358
URL: https://svnweb.freebsd.org/changeset/base/320358
Log:
MFC r320121:
Ignore the P_SYSTEM process flag, and do not request
VM_MAP_WIRE_SYSTEM mode when wiring the newly grown stack.
Approved by: re (marius)
Modified:
stable/11/sys/vm/vm_map.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/vm/vm_map.c
==============================================================================
--- stable/11/sys/vm/vm_map.c Mon Jun 26 12:30:39 2017 (r320357)
+++ stable/11/sys/vm/vm_map.c Mon Jun 26 12:37:11 2017 (r320358)
@@ -3891,9 +3891,7 @@ Retry:
vm_map_wire(map,
(stack_entry == next_entry) ? addr : addr - grow_amount,
(stack_entry == next_entry) ? stack_entry->start : addr,
- (p->p_flag & P_SYSTEM)
- ? VM_MAP_WIRE_SYSTEM|VM_MAP_WIRE_NOHOLES
- : VM_MAP_WIRE_USER|VM_MAP_WIRE_NOHOLES);
+ VM_MAP_WIRE_USER | VM_MAP_WIRE_NOHOLES);
}
out:
More information about the svn-src-stable-11
mailing list