diff options
author | davide <davide@FreeBSD.org> | 2013-03-04 15:57:41 +0000 |
---|---|---|
committer | davide <davide@FreeBSD.org> | 2013-03-04 15:57:41 +0000 |
commit | 4d11390875abd4474e652d8ca656da1c36791bb5 (patch) | |
tree | 267b7c8cda757bcadec398deec40341b55d82989 /sys/kern/kern_resource.c | |
parent | 2ca848c3f6d41f466c5bacf9f67c57da0c0764e2 (diff) | |
download | FreeBSD-src-4d11390875abd4474e652d8ca656da1c36791bb5.zip FreeBSD-src-4d11390875abd4474e652d8ca656da1c36791bb5.tar.gz |
MFcalloutng:
kern_nanosleep() is now converted to use tsleep_sbt(). With this change
nanosleep() and usleep() can handle sub-tick precision for timeouts.
Also, try to help coalesce of events passing as argument to tsleep_bt()
a precision value calculated as a percentage of the sleep time.
This percentage is default 5%, but it can tuned according to users
need via the sysctl interface.
Sponsored by: Google Summer of Code 2012, iXsystems inc.
Tested by: flo, marius, ian, markj, Fabian Keil
Diffstat (limited to 'sys/kern/kern_resource.c')
0 files changed, 0 insertions, 0 deletions