diff options
| author | Jeffrey Hsu <hsu@FreeBSD.org> | 1996-03-11 06:11:43 +0000 |
|---|---|---|
| committer | Jeffrey Hsu <hsu@FreeBSD.org> | 1996-03-11 06:11:43 +0000 |
| commit | 1b67ec6de98bf12f0651066967dbb4d49f9216fa (patch) | |
| tree | 583168ecffcc4146c31ee471fd066cc559e4afe1 /sys/vm/vm_pageout.c | |
| parent | 2592172e853e2b804903278b9bc55936aac4f5c3 (diff) | |
Notes
Diffstat (limited to 'sys/vm/vm_pageout.c')
| -rw-r--r-- | sys/vm/vm_pageout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index a835875682c0..6f4442120321 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -65,7 +65,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_pageout.c,v 1.66 1996/02/22 10:57:37 davidg Exp $ + * $Id: vm_pageout.c,v 1.67 1996/03/09 06:53:27 dyson Exp $ */ /* @@ -794,7 +794,7 @@ rescan1: ((cnt.v_free_count + cnt.v_cache_count) < cnt.v_free_min)) { bigproc = NULL; bigsize = 0; - for (p = (struct proc *) allproc; p != NULL; p = p->p_next) { + for (p = allproc.lh_first; p != 0; p = p->p_list.le_next) { /* * if this is a system process, skip it */ @@ -929,7 +929,7 @@ vm_daemon() * process is swapped out -- deactivate pages */ - for (p = (struct proc *) allproc; p != NULL; p = p->p_next) { + for (p = allproc.lh_first; p != 0; p = p->p_list.le_next) { int overage; quad_t limit; vm_offset_t size; |
