summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2005-05-28 17:56:18 +0000
committeralc <alc@FreeBSD.org>2005-05-28 17:56:18 +0000
commit62242345879e9d8a7e971c13864dd75572ed39df (patch)
tree29000fab0dad1989a71e67c228dccf4ff9acb011 /sys
parentedf3f9f2acfa5edbc928be84fadab9f7e53c7516 (diff)
downloadFreeBSD-src-62242345879e9d8a7e971c13864dd75572ed39df.zip
FreeBSD-src-62242345879e9d8a7e971c13864dd75572ed39df.tar.gz
Update some comments to reflect the change from spl-based to lock-based
synchronization.
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_pageq.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/vm/vm_pageq.c b/sys/vm/vm_pageq.c
index 95c30d5..7cdf86b 100644
--- a/sys/vm/vm_pageq.c
+++ b/sys/vm/vm_pageq.c
@@ -100,7 +100,6 @@ vm_pageq_enqueue(int queue, vm_page_t m)
* vm_add_new_page:
*
* Add a new page to the freelist for use by the system.
- * Must be called at splhigh().
*/
vm_page_t
vm_pageq_add_new_page(vm_paddr_t pa)
@@ -153,7 +152,7 @@ vm_pageq_add_new_page(vm_paddr_t pa)
*
* vm_page_unqueue() without any wakeup
*
- * This routine must be called at splhigh().
+ * The queue containing the given page must be locked.
* This routine may not block.
*/
void
@@ -175,7 +174,7 @@ vm_pageq_remove_nowakeup(vm_page_t m)
*
* Remove a page from its queue.
*
- * This routine must be called at splhigh().
+ * The queue containing the given page must be locked.
* This routine may not block.
*/
void
@@ -210,7 +209,7 @@ vm_pageq_remove(vm_page_t m)
* caches tend to be physical caches, while object spaces tend
* to be virtual.
*
- * This routine must be called at splvm().
+ * The specified queue must be locked.
* This routine may not block.
*
* This routine may only be called from the vm_pageq_find()
OpenPOWER on IntegriCloud