Increase the size of the page table on 64-bit PowerPC machines as a
bandaid to prevent exhaustion of the primary and secondary hash groups in the event of extreme stress on the PMAP layer (e.g. a forkbomb). This wastes memory, and should be revised to properly handle PTEG spills instead. Suggested by: grehan Approved by: re (kensmith)
This commit is contained in:
parent
b54b764c72
commit
f136543e41
@ -781,8 +781,6 @@ moea64_bridge_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernele
|
||||
|
||||
while (moea64_pteg_count < physmem)
|
||||
moea64_pteg_count <<= 1;
|
||||
|
||||
moea64_pteg_count >>= 1;
|
||||
#endif /* PTEGCOUNT */
|
||||
|
||||
size = moea64_pteg_count * sizeof(struct lpteg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user