Lock the kernel address space last.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35315 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2a22d2f0e6
commit
94a877f0e5
@ -323,7 +323,8 @@ MultiAddressSpaceLocker::_CompareItems(const void* _a, const void* _b)
|
||||
{
|
||||
lock_item* a = (lock_item*)_a;
|
||||
lock_item* b = (lock_item*)_b;
|
||||
return a->space->ID() - b->space->ID();
|
||||
return b->space->ID() - a->space->ID();
|
||||
// descending order, i.e. kernel address space last
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user