summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2002-02-19 18:50:49 +0000
committersilby <silby@FreeBSD.org>2002-02-19 18:50:49 +0000
commit5e0801a04b573b608e5727288be7d89e3a697c72 (patch)
tree8b6223670f9bea9db36ed62c0aef6dd8ee3af28c /sys/vm/vm_page.c
parent277d84139d4dbedb41d0f116497a379ee784f643 (diff)
downloadFreeBSD-src-5e0801a04b573b608e5727288be7d89e3a697c72.zip
FreeBSD-src-5e0801a04b573b608e5727288be7d89e3a697c72.tar.gz
Add one more comment to the OOM changes so that future readers of
the code may better understand the code. Suggested by: dillon MFC after: 1 week
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r--sys/vm/vm_page.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 2c0052b..047125f 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -995,6 +995,9 @@ vm_wait(void)
* Block until free pages are available for allocation
* - Called only in vm_fault so that processes page faulting
* can be easily tracked.
+ * - Sleeps at a lower priority than vm_wait() so that vm_wait()ing
+ * processes will be able to grab memory first. Do not change
+ * this balance without careful testing first.
*/
void
OpenPOWER on IntegriCloud