CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2023/08/29 10:19:34

Modified files:
        sys/arch/hppa/dev: cpu.c 
        sys/kern       : init_main.c kern_exit.c kern_resource.c 
                         kern_sched.c kern_time.c sched_bsd.c 
        sys/sys        : proc.h resourcevar.h 

Log message:
Remove p_rtime from struct proc and replace it by passing the timespec
as argument to the tuagg_locked function.

- Remove incorrect use of p_rtime in other parts of the tree. p_rtime was
almost always 0 so including it in any sum did not alter the result.
- In main() the update of time can be further simplified since at that time
only the primary cpu is running.
- Add missing nanouptime() call in cpu_hatch() for hppa
- Rename tuagg_unlocked to tuagg_locked like it is done in the rest of
the tree.

OK cheloha@ dlg@

Reply via email to