diff options
author | dg <dg@FreeBSD.org> | 1998-10-28 13:41:43 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1998-10-28 13:41:43 +0000 |
commit | 304c46fa2cdd2e64d755b4a2fe6087166176f915 (patch) | |
tree | 9e7a46bc7a93168b633b70aa1491c8c37b1b54c3 /sys/vm | |
parent | 20b2c33d9ae555690e09419a1d176600738a144a (diff) | |
download | FreeBSD-src-304c46fa2cdd2e64d755b4a2fe6087166176f915.zip FreeBSD-src-304c46fa2cdd2e64d755b4a2fe6087166176f915.tar.gz |
Fixed wrong comments in and about vm_page_deactivate().
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_page.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index f084d4a..070ac29 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $Id: vm_page.c,v 1.110 1998/10/25 17:44:59 phk Exp $ + * $Id: vm_page.c,v 1.111 1998/10/28 13:37:02 dg Exp $ */ /* @@ -1288,13 +1288,7 @@ vm_page_unwire(m, activate) /* - * vm_page_deactivate: - * - * Returns the given page to the inactive list, - * indicating that no physical maps have access - * to this page. [Used by the physical mapping system.] - * - * The page queues must be locked. + * Move the specified page to the inactive queue. */ void vm_page_deactivate(m) @@ -1303,11 +1297,7 @@ vm_page_deactivate(m) int s; /* - * Only move active pages -- ignore locked or already inactive ones. - * - * XXX: sometimes we get pages which aren't wired down or on any queue - - * we need to put them on the inactive queue also, otherwise we lose - * track of them. Paul Mackerras (paulus@cs.anu.edu.au) 9-Jan-93. + * Ignore if already inactive. */ if (m->queue == PQ_INACTIVE) return; |