haiku/src/system
Ingo Weinhold 50e4dd9328 axeld + bonefish: X86VMTranslationMap::Protect():
* Removed rounding up the end address to page alignment. It's not necessary
  and could cause an overflow.
* Fixed possible infinite loop triggered by a rare race condition: When two
  threads of a team were accessing the same unmapped page at the same time
  each would trigger a page fault. One thread would map the page again, the
  second would wait until the first one was done and update the page
  protection (unnecessarily but harmlessly). If the first thread accessed the
  page again at an unfortunate time, it would implicitly change the
  accessed/dirty flags of the page's PTE, which was a situation the loop in
  Protect() didn't consider and thus run forever.
  Seen the problem twice today in form of an app server freeze.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-12 20:30:49 +00:00
..
boot * Fix build, the APIC definitions are used in the bootloader too. 2010-04-12 15:59:40 +00:00
glue Should have been part of r30818. The version "glue". 2009-05-21 15:05:45 +00:00
kernel axeld + bonefish: X86VMTranslationMap::Protect(): 2010-04-12 20:30:49 +00:00
ldscripts Patch by Andreas Faerber: 2010-01-02 10:21:09 +00:00
libroot bonefish+axeld: 2010-04-11 20:40:58 +00:00
runtime_loader preload_image(): Removed erroneous rld_unlock() in error case. Fixes #5599. 2010-03-19 19:21:41 +00:00
Jamfile