Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 1 16:37:22 2013 UTC (6 weeks, 5 days ago) by christos
Branch: MAIN
CVS Tags: khorben-n900,
HEAD
Changes since 1.14: +12 -7
lines
Diff to previous 1.14 (colored)
undo previous and move the test to the timeout function since 0,0 means disable timer/interval.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 1 15:46:46 2013 UTC (6 weeks, 5 days ago) by christos
Branch: MAIN
Changes since 1.13: +9 -13
lines
Diff to previous 1.13 (colored)
do the timeout test centrally.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 1 12:31:34 2013 UTC (6 weeks, 6 days ago) by martin
Branch: MAIN
Changes since 1.12: +9 -5
lines
Diff to previous 1.12 (colored)
ts2timo: return ETIMEDOUT instead of failing an assertion when the calculated difference to the target time is zero.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 31 16:46:29 2013 UTC (6 weeks, 6 days ago) by christos
Branch: MAIN
Changes since 1.11: +14 -13
lines
Diff to previous 1.11 (colored)
instead of doing the tests twice fix the *fix() routines to return ETIMEDOUT if seconds are negative. Accorting to TOG, this is not an error as linux claims. Also make an assert stricter.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 29 10:34:12 2013 UTC (7 weeks, 2 days ago) by martin
Branch: MAIN
Changes since 1.10: +20 -2
lines
Diff to previous 1.10 (colored)
Move clock_gettime1() to subr_time.c (which is included in rump kernels)
Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 29 01:08:17 2013 UTC (7 weeks, 2 days ago) by christos
Branch: MAIN
Changes since 1.9: +22 -12
lines
Diff to previous 1.9 (colored)
Centralize the computation of struct timespec to the int timo. Make lwp_park take the regular arguments for specifying what kind of timeout we supply like clock_nanosleep(), namely clockid_t and flags.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 18 22:30:25 2011 UTC (17 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver
Changes since 1.8: +14 -2
lines
Diff to previous 1.8 (colored)
Fix monotonic interval timers.
Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 26 19:15:13 2011 UTC (2 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.7: +10 -7
lines
Diff to previous 1.7 (colored)
fix and cleanup for tvtohz(): -assume (KASSERT) that the timeval given is normalized, and remove some partial fixup which I don't see what it is good for (I'm ready to back that out if someone tells a reason) -catch overflows due to conversion of time_t (from tv_sec) to integer -- this function doesn't do 64-bit arithmetics (which makes sense because relative times which don't fit into 32 bits can be considered nonsense here), and before a huge tv_sec could lead to a zero hz result, violating the caller's assumptions (in particular trigger a diagnostic panic in abstimeout2timo())
Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 26 16:26:11 2010 UTC (3 years ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Changes since 1.6: +5 -5
lines
Diff to previous 1.6 (colored)
Revert rev1.6, it shall return ETIMEDOUT for pthread calls.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 23 19:29:23 2010 UTC (3 years ago) by rmind
Branch: MAIN
Changes since 1.5: +5 -5
lines
Diff to previous 1.5 (colored)
mq_timed{send,receive}: as required by POSIX, return EINVAL on invalid
timeout and thread would have blocked, instead of ETIMEDOUT. Change is
to abstimeout2timo(), thus also affects _lwp_park(2).
Reported by Stathis Kamperis some months ago.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Nov 1 21:46:09 2009 UTC (3 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base,
uebayasi-xip,
matt-premerge-20091211
Branch point for: rmind-uvmplock
Changes since 1.4: +53 -2
lines
Diff to previous 1.4 (colored)
- Move inittimeleft() and gettimeleft() to subr_time.c, where they belong. - Move abstimeout2timo() there too and export. Use it in lwp_park().
Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 15 16:18:08 2008 UTC (4 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.3: +16 -6
lines
Diff to previous 1.3 (colored)
Use more timespecs internally. From Alexander Shishkin and me. Welcome to 4.99.70, 30 more to go for 100.
Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 22 00:35:32 2007 UTC (5 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
vmlocking2-base3,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl,
mjf-devfs2,
haad-dm
Changes since 1.2: +2 -69
lines
Diff to previous 1.2 (colored)
reduce #ifdef __HAVE_TIMECOUNTER.
Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 29 18:04:46 2007 UTC (5 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: vmlocking2,
bouyer-xeni386
Changes since 1.1: +3 -2
lines
Diff to previous 1.1 (colored)
Pull in sys/intr.h
Revision 1.1 / (download) - annotate - [select for diffs], Thu Aug 9 07:36:19 2007 UTC (5 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5,
matt-armv6-prevmlocking,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: yamt-lazymbuf,
vmlocking,
nick-csl-alignment,
mjf-devfs,
matt-armv6,
jmcneill-pm
Shuffle routines which just roll values around from kern_clock.c and kern_time.c to subr_time.c.