On Sat, Feb 13, 2016 at 9:39 PM, Stuart Henderson <s...@spacehopper.org> wrote: > There was this commit, I don't *think* it got reverted. > > > > CVSROOT: /cvs > Module name: src > Changes by: b...@cvs.openbsd.org 2013/06/11 13:01:20 > > Modified files: > sys/kern : kern_sysctl.c spec_vnops.c vfs_bio.c > vfs_biomem.c vfs_vops.c > sys/sys : buf.h mount.h > sys/uvm : uvm_extern.h uvm_page.c > usr.bin/systat : iostat.c > > Log message: > High memory page flipping for the buffer cache. > > This change splits the buffer cache free lists into lists of dma reachable > buffers and high memory buffers based on the ranges returned by pmemrange. > Buffers move from dma to high memory as they age, but are flipped to dma > reachable memory if IO is needed to/from and high mem buffer. The total > amount of buffers allocated is now bufcachepercent of both the dma and > the high memory region. > > This change allows the use of large buffer caches on amd64 using more than > 4 GB of memory > > ok tedu@ krw@ - testing by many.
I think it got reverted by: commit ac77fb26761065b7f6031098e6a182cacfaf7437 Author: beck <b...@openbsd.org> Date: Tue Jul 9 15:37:43 2013 +0000 back out the cache flipper temporarily to work out of tree. will come back soon. ok deraadt@ but I'm not an expert so would wait on confirmation by Bob Beck.