diff options
author | 2013-06-11 19:01:20 +0000 | |
---|---|---|
committer | 2013-06-11 19:01:20 +0000 | |
commit | 1abf8f944ca0988d2f6a89ce315e27ae764e2a1b (patch) | |
tree | d5e1eca58e7a306ac14bbbf30d043a5a8878b9fd /sys/lib | |
parent | Replace more ovbcopy with memmove; swap the src and dst arguments too (diff) | |
download | wireguard-openbsd-1abf8f944ca0988d2f6a89ce315e27ae764e2a1b.tar.xz wireguard-openbsd-1abf8f944ca0988d2f6a89ce315e27ae764e2a1b.zip |
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.
Diffstat (limited to 'sys/lib')
0 files changed, 0 insertions, 0 deletions