50e4dd9328
* 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 |
||
---|---|---|
.. | ||
boot | ||
glue | ||
kernel | ||
ldscripts | ||
libroot | ||
runtime_loader | ||
Jamfile |