CVSROOT: /cvs Module name: src Changes by: ste...@cvs.openbsd.org 2016/07/14 11:28:38
Modified files: sys/arch/amd64/amd64: Tag: OPENBSD_5_9 vmm.c Log message: Add the vmm bits of previous commit to 5.9 -stable branch: Make sure that amap slot calculation does not overflow This prevents too small amaps from being allocated by forcing the allocation of a large number of slots. Based on an analysis from Jesse Hertz and Tim Newsham. This is a different patch for 5.9 that addresses the same issue as r1.75 of uvm/uvm_amap.c. It also makes sure that vmm(4) cannot make such large amap allocation requests.