diff options
| author | Alan Cox <alc@FreeBSD.org> | 2003-02-09 20:40:36 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2003-02-09 20:40:36 +0000 |
| commit | 6b4b77ad34674f2357f8e5e34b3ae1c61af1c3ba (patch) | |
| tree | 1a56855cd1635dd6a1d4873d7f3b6d52a98db2a1 | |
| parent | a7a02d1917a50e677d66e7507ecc4adb99543c86 (diff) | |
Notes
| -rw-r--r-- | sys/vm/vm_pageout.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index 427d351b6989..8e3c39f8b90d 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() { |
