make absent absent
This commit is contained in:
parent
d580099dde
commit
56adbe979f
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)device_pager.c 8.1 (Berkeley) 6/11/93
|
||||
* $Id: device_pager.c,v 1.8 1993/11/10 08:11:47 cgd Exp $
|
||||
* $Id: device_pager.c,v 1.9 1993/11/10 08:22:05 cgd Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -346,7 +346,6 @@ dev_pager_getfake(paddr)
|
||||
* m->flags = PG_BUSY | PG_CLEAN | PG_FAKE | PG_FICTITIOUS;
|
||||
* to ours:
|
||||
*/
|
||||
m->absent = 0; /* no analog in the 4.4 flags */
|
||||
m->inactive = 0;
|
||||
m->active = 0;
|
||||
m->laundry = 0;
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)vm_fault.c 7.6 (Berkeley) 5/7/91
|
||||
* $Id: vm_fault.c,v 1.7 1993/07/28 02:23:33 cgd Exp $
|
||||
* $Id: vm_fault.c,v 1.8 1993/11/10 08:22:11 cgd Exp $
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1987, 1990 Carnegie-Mellon University.
|
||||
@ -262,9 +262,6 @@ thread_wakeup(&vm_pages_needed); /* XXX! */
|
||||
#endif
|
||||
}
|
||||
|
||||
if (m->absent)
|
||||
panic("vm_fault: absent");
|
||||
|
||||
/*
|
||||
* If the desired access to this page has
|
||||
* been locked out, request that it be unlocked.
|
||||
@ -324,7 +321,6 @@ thread_wakeup(&vm_pages_needed); /* XXX */
|
||||
* Mark page busy for other threads.
|
||||
*/
|
||||
m->busy = TRUE;
|
||||
m->absent = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -450,7 +446,6 @@ thread_wakeup(&vm_pages_needed); /* XXX */
|
||||
vm_page_zero_fill(m);
|
||||
vm_stat.zero_fill_count++;
|
||||
m->fake = FALSE;
|
||||
m->absent = FALSE;
|
||||
break;
|
||||
}
|
||||
else {
|
||||
@ -463,8 +458,8 @@ thread_wakeup(&vm_pages_needed); /* XXX */
|
||||
}
|
||||
}
|
||||
|
||||
if (m->absent || m->active || m->inactive || !m->busy)
|
||||
panic("vm_fault: absent or active or inactive or not busy after main loop");
|
||||
if (m->active || m->inactive || !m->busy)
|
||||
panic("vm_fault: active or inactive or not busy after main loop");
|
||||
|
||||
/*
|
||||
* PAGE HAS BEEN FOUND.
|
||||
@ -512,7 +507,6 @@ thread_wakeup(&vm_pages_needed); /* XXX */
|
||||
|
||||
vm_page_copy(m, first_m);
|
||||
first_m->fake = FALSE;
|
||||
first_m->absent = FALSE;
|
||||
|
||||
/*
|
||||
* If another map is truly sharing this
|
||||
@ -731,7 +725,6 @@ thread_wakeup(&vm_pages_needed); /* XXX */
|
||||
*/
|
||||
vm_page_copy(m, copy_m);
|
||||
copy_m->fake = FALSE;
|
||||
copy_m->absent = FALSE;
|
||||
|
||||
/*
|
||||
* Things to remember:
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91
|
||||
* $Id: vm_page.c,v 1.6 1993/08/27 23:46:02 brezak Exp $
|
||||
* $Id: vm_page.c,v 1.7 1993/11/10 08:22:14 cgd Exp $
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1987, 1990 Carnegie-Mellon University.
|
||||
@ -731,7 +731,6 @@ void vm_page_init(mem, object, offset)
|
||||
(mem)->tabled = FALSE; \
|
||||
if (object) vm_page_insert((mem), (object), (offset)); \
|
||||
else (mem)->object = NULL; \
|
||||
(mem)->absent = FALSE; \
|
||||
(mem)->fictitious = FALSE; \
|
||||
(mem)->page_lock = VM_PROT_NONE; \
|
||||
(mem)->unlock_request = VM_PROT_NONE; \
|
||||
@ -751,7 +750,6 @@ void vm_page_init(mem, object, offset)
|
||||
(mem)->tabled = FALSE; \
|
||||
if (object) vm_page_insert((mem), (object), (offset)); \
|
||||
else (mem)->object = NULL; \
|
||||
(mem)->absent = FALSE; \
|
||||
(mem)->fictitious = FALSE; \
|
||||
(mem)->page_lock = VM_PROT_NONE; \
|
||||
(mem)->unlock_request = VM_PROT_NONE; \
|
||||
@ -770,7 +768,6 @@ void vm_page_init(mem, object, offset)
|
||||
(mem)->busy = TRUE; \
|
||||
(mem)->tabled = FALSE; \
|
||||
vm_page_insert((mem), (object), (offset)); \
|
||||
(mem)->absent = FALSE; \
|
||||
(mem)->fictitious = FALSE; \
|
||||
(mem)->page_lock = VM_PROT_NONE; \
|
||||
(mem)->unlock_request = VM_PROT_NONE; \
|
||||
@ -789,7 +786,6 @@ void vm_page_init(mem, object, offset)
|
||||
(mem)->busy = TRUE; \
|
||||
(mem)->tabled = FALSE; \
|
||||
vm_page_insert((mem), (object), (offset)); \
|
||||
(mem)->absent = FALSE; \
|
||||
(mem)->fictitious = FALSE; \
|
||||
(mem)->page_lock = VM_PROT_NONE; \
|
||||
(mem)->unlock_request = VM_PROT_NONE; \
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)vm_page.h 7.3 (Berkeley) 4/21/91
|
||||
* $Id: vm_page.h,v 1.5 1993/08/27 23:46:43 brezak Exp $
|
||||
* $Id: vm_page.h,v 1.6 1993/11/10 08:22:18 cgd Exp $
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1987, 1990 Carnegie-Mellon University.
|
||||
@ -125,7 +125,6 @@ struct vm_page {
|
||||
copy_on_write:1,/* page must be copied before being
|
||||
changed (O) */
|
||||
fictitious:1, /* physical page doesn't exist (O) */
|
||||
absent:1, /* virtual page doesn't exist (O) */
|
||||
fake:1, /* page is a placeholder for page-in
|
||||
(O) */
|
||||
:0;
|
||||
|
Loading…
Reference in New Issue
Block a user