Fixed breakage of fork accounting in previous commit. A fork benchmark
reported about 15 times as much sys time as real time. getmicroruntime() is confusing name.
This commit is contained in:
parent
206faeeef7
commit
dcfe005838
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: exception.s,v 1.48 1998/03/23 19:52:23 jlemon Exp $
|
||||
* $Id: exception.s,v 1.49 1998/04/04 13:24:07 phk Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -346,7 +346,7 @@ ENTRY(fork_trampoline)
|
||||
movl _curproc,%eax
|
||||
addl $P_RUNTIME,%eax
|
||||
pushl %eax
|
||||
call _getmicroruntime
|
||||
call _microruntime
|
||||
popl %eax
|
||||
|
||||
/*
|
||||
|
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: exception.s,v 1.48 1998/03/23 19:52:23 jlemon Exp $
|
||||
* $Id: exception.s,v 1.49 1998/04/04 13:24:07 phk Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -346,7 +346,7 @@ ENTRY(fork_trampoline)
|
||||
movl _curproc,%eax
|
||||
addl $P_RUNTIME,%eax
|
||||
pushl %eax
|
||||
call _getmicroruntime
|
||||
call _microruntime
|
||||
popl %eax
|
||||
|
||||
/*
|
||||
|
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: exception.s,v 1.48 1998/03/23 19:52:23 jlemon Exp $
|
||||
* $Id: exception.s,v 1.49 1998/04/04 13:24:07 phk Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -346,7 +346,7 @@ ENTRY(fork_trampoline)
|
||||
movl _curproc,%eax
|
||||
addl $P_RUNTIME,%eax
|
||||
pushl %eax
|
||||
call _getmicroruntime
|
||||
call _microruntime
|
||||
popl %eax
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user