From 0f752392c66f42b018da4e12f104ef233055d7f8 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 13 Jul 2007 04:42:20 +0000 Subject: [PATCH] Update a comment describing the page queues. Approved by: re (hrs) --- sys/vm/vm_page.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index c238e32d08b7..b06a19e1d843 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -224,18 +224,22 @@ extern struct mtx vm_page_queue_free_mtx; #include /* - * Each pageable resident page falls into one of four lists: + * Each pageable resident page falls into one of five lists: * * free * Available for allocation now. * - * The following are all LRU sorted: - * * cache * Almost available for allocation. Still in an * object, but clean and immediately freeable at * non-interrupt times. * + * hold + * Will become free after a pending I/O operation + * completes. + * + * The following lists are LRU sorted: + * * inactive * Low activity, candidates for reclamation. * This is the list of pages that should be @@ -245,9 +249,6 @@ extern struct mtx vm_page_queue_free_mtx; * Pages that are "active" i.e. they have been * recently referenced. * - * zero - * Pages that are really free and have been pre-zeroed - * */ extern int vm_page_zero_count;