Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Move free page zeroing to before the whic...
details: https://anonhg.NetBSD.org/src/rev/b6c46b320791
branches: trunk
changeset: 485507:b6c46b320791
user: soren <soren%NetBSD.org@localhost>
date: Sat Apr 29 14:44:42 2000 +0000
description:
Move free page zeroing to before the whichqs spinner. Pointed out by simonb.
diffstat:
sys/arch/mips/mips/locore.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r be6b18826d64 -r b6c46b320791 sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S Sat Apr 29 12:18:52 2000 +0000
+++ b/sys/arch/mips/mips/locore.S Sat Apr 29 14:44:42 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.94 2000/04/28 19:25:56 soren Exp $ */
+/* $NetBSD: locore.S,v 1.95 2000/04/29 14:44:42 soren Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -264,13 +264,13 @@
mtc0 t0, MIPS_COP_0_STATUS # enable all interrupts
nop
sw zero, _C_LABEL(curproc) # set curproc NULL for stats
+ jal _C_LABEL(uvm_pageidlezero) # try to zero free pages
+ nop
1:
lw t0, _C_LABEL(whichqs) # look for non-empty queue
nop
beq t0, zero, 1b
nop
- jal _C_LABEL(uvm_pageidlezero)
- nop
la ra, cpu_switch_queuescan
j ra
mtc0 zero, MIPS_COP_0_STATUS # disable all interrupts
Home |
Main Index |
Thread Index |
Old Index