Up to [cvs.NetBSD.org] / src / sys / arch / alpha / alpha
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: kqueue-beforemerge
Revision 1.31 / (download) - annotate - [select for diffs], Sun May 27 13:53:24 2001 UTC (22 years, 10 months ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf,
newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
nathanw_sa_end,
nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
kqueue,
ifpoll-base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
gehenna-devsw,
fvdl_fs64_base,
eeh-devprop-base,
eeh-devprop
Branch point for: nathanw_sa
Changes since 1.30: +10 -2
lines
Diff to previous 1.30 (colored)
Assorted microtime fixes (similar to fixes I made yesterday when porting this code to i386mp branch): - call microset() early on each cpu so that calls to microtime() before the first clock interrupt don't return trash. this manifested itself as garbage runtimes in "ps" for kernel threads. - avoid races between hardclock updating "time" and microset on a different cpu reading it by adding a "microset_time" global which is initialized from "time" on the primary cpu. - call microset every hz ticks, not every hz+1 (cosmetic)