Correct a comment - each page queue has its own lock.
Reviewed by: alc MFC after: 3 days
This commit is contained in:
parent
efe1ff4cf0
commit
44be0a8ea5
@ -267,7 +267,7 @@ vm_pageout_init_marker(vm_page_t marker, u_short queue)
|
||||
*
|
||||
* Lock vm object currently associated with `m'. VM_OBJECT_TRYWLOCK is
|
||||
* known to have failed and page queue must be either PQ_ACTIVE or
|
||||
* PQ_INACTIVE. To avoid lock order violation, unlock the page queues
|
||||
* PQ_INACTIVE. To avoid lock order violation, unlock the page queue
|
||||
* while locking the vm object. Use marker page to detect page queue
|
||||
* changes and maintain notion of next page on page queue. Return
|
||||
* TRUE if no changes were detected, FALSE otherwise. vm object is
|
||||
|
Loading…
Reference in New Issue
Block a user