haiku/headers/private
Axel Dörfler fe70b87d91 Fixed a couple of issues in our VM:
* we now always flush the TLBs after having unmapped some pages.
* vm_soft_fault() could traverse to a source cache while it was being collapsed
  by vm_cache_remove_consumer() - this is now no longer possible as the latter
  marks the cache as busy when doing so, and the former now tests this flag and
  locks the cache (via the new fault_acquire_locked_source() function).
* if fault_acquire_locked_source() fails with B_BUSY, the current cache is locked
  again, and tested again for the page - as it might have been moved upwards to it
  with the destruction of its former source.
* The cache delivering the page for vm_soft_fault() is now locked until the end;
  it can no longer go away before having actually mapped the page into the area.
* This also fixes the issue where pages would get lost as vm_soft_fault() put the
  page in the active list, no matter if its cache still existed.
* Also, we now keep a reference of to a cache in case a dummy page is inserted; this
  makes again sure that it doesn't go away during the execution of vm_soft_fault()
  (which could even add this page to the free list...).
* divided vm_soft_fault() into several smaller functions which should make it much
  more readable.
* Added a "cache_chain" KDL command that dumps the whole chain until the bottom
  when giving a pointer to a vm_cache as parameter.
* now usually call vm_cache_acquire_ref() before map_backing_store(), even though
  it shouldn't be really needed (I added it for debugging purposes).
* Some minor cleanup.
* NOTE: a major problem still persists: when removing a vm_cache, it's possible
  that some of its pages are still mapped, and there is currently no mechanism
  to get rid of these mappings! I've added TODO comments into vm_cache.c where
  appropriate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-01 12:12:54 +00:00
..
app Another cleanup patch by Vasilis Kaoutsis - thanks! 2007-01-28 21:35:08 +00:00
audio * added a bunch of drivers by Siarzhuk Zharski 2006-05-29 09:54:03 +00:00
debug Added support for looking up symbols of other team to libdebug. The 2005-07-16 21:12:32 +00:00
disk_scanner
drivers Fixed some bugs, partially by Oscar Lesta. 2005-07-19 17:19:02 +00:00
graphics Added Eric Petit's VMware graphics driver - thanks! 2007-01-14 14:16:06 +00:00
input input_server saves its settings on change, sending itself a 'Save' request message 2006-07-07 15:38:53 +00:00
interface Greatly improved scrolling, and simplified the code too. Now scrolling 2006-12-29 07:01:08 +00:00
kernel Fixed a couple of issues in our VM: 2007-02-01 12:12:54 +00:00
libroot updated to tzcode2007a 2007-01-09 23:16:26 +00:00
mail Tried to get MDR to compile under Zeta RC3 but to no avail, with lots of 2006-01-01 23:59:24 +00:00
media build media kit with debug enabled, even for release builds 2006-03-07 13:24:19 +00:00
midi Made all server version and signatures consistent, and thus closing bug #909. 2006-10-22 17:56:02 +00:00
net * Moved some private members of net_socket into the new net_socket_private structure. 2006-12-19 03:01:18 +00:00
opengl/GL/internal Internal Mesa3D's private declaration use everywhere in Mesa code. 2005-06-26 13:54:42 +00:00
print Some printing related improvements: 2007-01-20 15:52:37 +00:00
runtime_loader Now supports symbolic links correctly, and no longer loads the same shared 2006-06-27 00:07:42 +00:00
screen_saver * ScreenCornerSelector is now a BControl and fully keyboard navigable. 2006-06-09 16:03:16 +00:00
shared This should fix intermitent KDLs (at least with console debug output). 2007-01-24 00:24:51 +00:00
storage Now it's self-containing. 2007-01-19 22:59:28 +00:00
syslog_daemon Implemented syslog support for the kernel debug output. Not fancy at all yet, but 2006-01-24 20:28:52 +00:00
textencoding use const char for parameters, uint to avoid warnings, and strcasecmp for name comparisons 2004-11-11 07:35:47 +00:00
tracker Added private libtracker headers, shared with Deskbar. 2005-05-23 00:24:17 +00:00
usb_vision * added a bunch of drivers by Siarzhuk Zharski 2006-05-29 09:54:03 +00:00