Deleted Added
full compact
vm_machdep.c (12722) vm_machdep.c (12767)
1/*-
2 * Copyright (c) 1982, 1986 The Regents of the University of California.
3 * Copyright (c) 1989, 1990 William Jolitz
4 * Copyright (c) 1994 John Dyson
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * the Systems Programming Group of the University of Utah Computer

--- 24 unchanged lines hidden (view full) ---

33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * SUCH DAMAGE.
38 *
39 * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
40 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
1/*-
2 * Copyright (c) 1982, 1986 The Regents of the University of California.
3 * Copyright (c) 1989, 1990 William Jolitz
4 * Copyright (c) 1994 John Dyson
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * the Systems Programming Group of the University of Utah Computer

--- 24 unchanged lines hidden (view full) ---

33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * SUCH DAMAGE.
38 *
39 * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91
40 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$
41 * $Id: vm_machdep.c,v 1.46 1995/12/07 12:45:40 davidg Exp $
41 * $Id: vm_machdep.c,v 1.47 1995/12/10 13:36:34 phk Exp $
42 */
43
44#include "npx.h"
45#include <sys/param.h>
46#include <sys/systm.h>
47#include <sys/proc.h>
48#include <sys/malloc.h>
49#include <sys/buf.h>

--- 839 unchanged lines hidden (view full) ---

889 vm_page_t m;
890 if ((cnt.v_free_count > cnt.v_interrupt_free_min) &&
891 (m = vm_page_queue_free.tqh_first)) {
892 TAILQ_REMOVE(&vm_page_queue_free, m, pageq);
893 enable_intr();
894 pmap_zero_page(VM_PAGE_TO_PHYS(m));
895 disable_intr();
896 TAILQ_INSERT_HEAD(&vm_page_queue_zero, m, pageq);
42 */
43
44#include "npx.h"
45#include <sys/param.h>
46#include <sys/systm.h>
47#include <sys/proc.h>
48#include <sys/malloc.h>
49#include <sys/buf.h>

--- 839 unchanged lines hidden (view full) ---

889 vm_page_t m;
890 if ((cnt.v_free_count > cnt.v_interrupt_free_min) &&
891 (m = vm_page_queue_free.tqh_first)) {
892 TAILQ_REMOVE(&vm_page_queue_free, m, pageq);
893 enable_intr();
894 pmap_zero_page(VM_PAGE_TO_PHYS(m));
895 disable_intr();
896 TAILQ_INSERT_HEAD(&vm_page_queue_zero, m, pageq);
897 ++vm_page_zero_count;
897 return 1;
898 }
899 return 0;
900}
898 return 1;
899 }
900 return 0;
901}