Searched hist:f14480bc2c86a3af8f802c7478bc7a54ae445339 (Results 1 – 2 of 2) sorted by relevance
/haiku/src/system/kernel/device_manager/ |
H A D | IOCache.h | f14480bc2c86a3af8f802c7478bc7a54ae445339 Sat Apr 24 21:54:49 UTC 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Essentially rewrote the IOCache to use a VMCache and unmapped pages for caching (similar to the file cache) instead of contiguous areas. This is probably a little bit slower, but integrates better with the VM -- the caching doesn't increase memory pressure and the least recently used pages will automatically be recycled when needed. There are still memory allocation issues on machines with little memory. The USB stack apparently tries to allocate a rather big chunk of contiguous memory, which fails when all not otherwise bound memory is used for caches, since the VM functions for allocating contiguous memory consider only free pages ATM.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36458 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
H A D | IOCache.cpp | f14480bc2c86a3af8f802c7478bc7a54ae445339 Sat Apr 24 21:54:49 UTC 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Essentially rewrote the IOCache to use a VMCache and unmapped pages for caching (similar to the file cache) instead of contiguous areas. This is probably a little bit slower, but integrates better with the VM -- the caching doesn't increase memory pressure and the least recently used pages will automatically be recycled when needed. There are still memory allocation issues on machines with little memory. The USB stack apparently tries to allocate a rather big chunk of contiguous memory, which fails when all not otherwise bound memory is used for caches, since the VM functions for allocating contiguous memory consider only free pages ATM.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36458 a95241bf-73f2-0310-859d-f6bbb57e9c96
|