b1e06d23ce
free respective free and cached pages. * Removed the unused vm_page_allocate_page_run_no_base(). * vm_page_allocate_page_run() (and allocate_page_run()): - Use vm_page_reserve_pages() instead of vm_page_try_reserve_pages(), i.e. wait until the reservation succeeds. - Now we iterates two times through the pages to find a suitable page run. In the first iteration it only looks for free/clear pages, in the second iteration it also considers cached pages. This increases the chance of the function to succeed, when a lot of caching is going on. This reduces the amount of memory required to use the IOCache when booting off the anyboot Live CD to around 160 MB in qemu. It also seems to work with 128 MB, but the syslog indicates that some memory allocations fail, which is not exactly inspiring confidence. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36489 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
||
---|---|---|
.. | ||
build | ||
compatibility | ||
config | ||
cpp | ||
glibc | ||
libs | ||
os | ||
posix | ||
private | ||
tools |