summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_pageout.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index 427d351..8e3c39f 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -1481,6 +1481,12 @@ vm_pageout()
}
}
+/*
+ * Unless the page queue lock is held by the caller, this function
+ * should be regarded as advisory. Specifically, the caller should
+ * not msleep() on &cnt.v_free_count following this function unless
+ * the page queue lock is held until the msleep() is performed.
+ */
void
pagedaemon_wakeup()
{
OpenPOWER on IntegriCloud