haiku/headers
Ingo Weinhold ed43619500 * vm_page: Swapped members usage_count and wired_count. We lost 4 bytes
due to alignment padding before.
* Reorganized merging of caches a bit. Renamed MergeStore() to Merge()
  and moved some more functionality into it. The method also moves the
  pages from source to consumer, now. This is necessary, since
  VMAnonymousCache needs to consider both physical pages and swap pages
  at the same time. Before we first moved the physical pages and the
  swap pages later, which was broken for two reasons: (1) A swap page in
  the consumer cache shadows a physical page of the source cache, which
  we ignored. (2) A source cache's physical page that also had a swap
  page would lose the latter in the process when moved to the consumer
  cache, i.e. if the page was not marked modified, it could be stolen
  and its data would be lost.

These changes improve the situation when building Haiku with 256 MB RAM
in that jam doesn't crash anymore, but in my test the system became
totally unusable after about an hour or 7000 targets (GUI froze). For
some reason it didn't manage to free pages anymore although swapping
heavily.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-23 19:01:01 +00:00
..
build Patch by Andreas Faerber with changes by myself: Work towards Solaris 2008-08-09 15:36:24 +00:00
compatibility/bsd Removed prototypes for openpty() (which lives in pty.h) and forkpty() 2008-05-28 20:44:47 +00:00
cpp GCC 4 fix. 2005-12-11 16:22:51 +00:00
glibc Prevent redefinition of _IO_MTSAFE_IO. It is defined when building the 2008-03-22 15:26:55 +00:00
gnu adding gnu/termcap.h : is a copy of src/libs/termcap/termcap.h 2004-06-01 12:38:47 +00:00
legacy/network setsockopt and getsockopt use int as others functions 2006-06-23 14:19:11 +00:00
libs updated libpng to 1.2.31: 1.2.30 had at least one serious regression 2008-08-21 22:34:27 +00:00
os Code cleanup 2008-08-23 11:16:31 +00:00
posix Removed my Copyright notice, assign future copyright to Haiku Inc, in contribution to ticket #2191 2008-08-19 19:28:41 +00:00
private * vm_page: Swapped members usage_count and wired_count. We lost 4 bytes 2008-08-23 19:01:01 +00:00
tools Fixed the build of the cppunit stuff; if you are using IMPORT/EXPORT you should 2004-05-05 16:19:03 +00:00