haiku/src
Travis Geiselbrecht c4546ea038 A fix for the double-fault on bootup:
-Turns out the area removal routine had a massive race condition inside
vm_put_area(). Basically the area was removed from the address space's
area list before the pages were unmapped, so the vm could (and would)
recycle the space before the pages were finally unmapped.

It was completely reproducable on my machine during initialization of a bunch
of storage drivers that were bringing the locked_pool module into and out of
existence, which caused a thread to be spawned and stopped in rapid sucession.
On a dual processor machine, it was possible for the new thread to be started
up while the old one was still shutting down, and the kernel stack of the new
one would get wiped out.

Note, there still is a page ref counting problem with this area removal code.
It doesn't decrement the ref count of the page as it unmaps it. Will have to 
figure that out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 09:38:00 +00:00
..
add-ons added a workaround for an optimization bug in our GCC4 with -O1 and -O2, this should be dropped when we upgrade 2006-12-17 23:34:54 +00:00
apps "Options" -> "Preferences" 2006-12-17 21:55:03 +00:00
bin added iasl bin tool from acpica-20061109 2006-12-17 19:53:01 +00:00
build FreeBSD build platform support. Original patches courtesy of 2006-11-29 18:08:00 +00:00
data * added icon to pdf mime type 2006-12-16 19:45:18 +00:00
documentation Initial checkin. Definitely a work in progress. Content comes first and then formatting later. :^) 2006-11-21 00:24:51 +00:00
kits * implemented "false bold" for text rendering. It is a new property 2006-12-18 05:22:13 +00:00
libs Change the vfork() declaration to match the prototype, and thus fix the build. 2006-12-15 08:42:34 +00:00
preferences Account list has the focus on startup 2006-12-16 04:51:24 +00:00
servers * implemented "false bold" for text rendering. It is a new property 2006-12-18 05:22:13 +00:00
system A fix for the double-fault on bootup: 2006-12-18 09:38:00 +00:00
tests Removed the dependency in the registrar on an input_server header file which I 2006-12-14 07:07:30 +00:00
tools FreeBSD build platform support. Original patches courtesy of 2006-11-29 18:08:00 +00:00
Jamfile Merged changes from branch build_system_redesign at revision 14573. 2005-10-29 16:27:43 +00:00