haiku/headers
Ingo Weinhold cff6e9e406 * The system now holds back a small reserve of committable memory and pages. The
memory and page reservation functions have a new "priority" parameter that
  indicates how deep the function may tap into that reserve. The currently
  existing priority levels are "user", "system", and "VIP". The idea is that
  user programs should never be able to cause a state that gets the kernel into
  trouble due to heavy battling for memory. The "VIP" level (not really used
  yet) is intended for allocations that are required to free memory eventually
  (in the page writer). More levels are thinkable in the future, like "user real
  time" or "user system server".
* Added "priority" parameters to several VMCache methods.
* Replaced the map_backing_store() "unmapAddressRange" parameter by a "flags"
  parameter.
* Added area creation flag CREATE_AREA_PRIORITY_VIP and slab allocator flag
  CACHE_PRIORITY_VIP indicating the importance of the request.
* Changed most code to pass the right priorities/flags.

These changes already significantly improve the behavior in low memory
situations. I've tested a bit with 64 MB (virtual) RAM and, while not
particularly fast and responsive, the system remains at least usable under high
memory pressure.
As a side effect the slab allocator can now be used as general memory allocator.
Not done by default yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-26 14:44:58 +00:00
..
build Patch by Andreas Faerber: 2010-01-02 09:24:57 +00:00
compatibility - Coding style fixes. Thanks Axel for the heads up. 2009-11-17 16:13:00 +00:00
config Fixed __HAIKU_PRI_PREFIX_ADDR definition. 2009-12-06 15:46:03 +00:00
cpp * Introduced new header directory "config", which ATM contains HaikuConfig.h 2009-11-24 19:44:07 +00:00
glibc * merged 32bit-wchar_t branches of buildtools and haiku back into 2009-07-07 10:30:09 +00:00
libs * Simplified and optimized a lot the "ToString()" debugging facilities. 2009-12-06 13:14:45 +00:00
os As suggested by Axel use addr_t and size_t. 2010-01-23 16:40:36 +00:00
posix Remove the ucontext.h header again, until the whole SA_SIGINFO backend is 2010-01-25 23:16:06 +00:00
private * The system now holds back a small reserve of committable memory and pages. The 2010-01-26 14:44:58 +00:00
tools * Moved everything into the SymbolPatcher namespace. 2009-11-05 17:16:17 +00:00