Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src



Module Name:    src
Committed By:   martin
Date:           Fri Oct 11 17:18:05 UTC 2024

Modified Files:
        src/sys/kern [netbsd-9]: kern_resource.c subr_time.c
        src/sys/sys [netbsd-9]: resourcevar.h
        src/tests/lib/libc/sys [netbsd-9]: t_clock_gettime.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1896):

        sys/sys/resourcevar.h: revision 1.58
        sys/kern/subr_time.c: revision 1.36
        sys/kern/subr_time.c: revision 1.37
        sys/kern/subr_time.c: revision 1.38
        sys/kern/kern_resource.c: revision 1.190
        sys/kern/kern_resource.c: revision 1.191
        tests/lib/libc/sys/t_clock_gettime.c: revision 1.4
        tests/lib/libc/sys/t_clock_gettime.c: revision 1.5
        tests/lib/libc/sys/t_clock_gettime.c: revision 1.6
        (all via patch)

kern: KASSERT(A && B) -> KASSERT(A); KASSERT(B)
White space fix.

kern_resource.c: Fix brace placement.
No functional change intended.

t_clock_gettime: Add test for PR kern/57512.

clock_gettime(2): Fix CLOCK_PROCESS/THREAD_CPUTIME_ID.
Use same calculation as getrusage, not some ad-hoc arithmetic of
internal scheduler parameters that are periodically rewound.
PR kern/57512

t_clock_gettime: Avoid signed/unsigned comparison.


To generate a diff of this commit:
cvs rdiff -u -r1.182.4.1 -r1.182.4.2 src/sys/kern/kern_resource.c
cvs rdiff -u -r1.20 -r1.20.8.1 src/sys/kern/subr_time.c
cvs rdiff -u -r1.57 -r1.57.6.1 src/sys/sys/resourcevar.h
cvs rdiff -u -r1.3 -r1.3.16.1 src/tests/lib/libc/sys/t_clock_gettime.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index