Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177450018
D49312.1794432419.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
474 B
Referenced Files
None
Subscribers
None
D49312.1794432419.diff
View Options
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c
--- a/sys/kern/kern_time.c
+++ b/sys/kern/kern_time.c
@@ -1646,8 +1646,8 @@
return (EINVAL);
if ((UINT64_MAX - ts->tv_nsec) / NS_PER_SEC < ts->tv_sec)
return (EINVAL);
- if (ts->tv_sec == 0 && ts->tv_nsec != 0 && ts->tv_nsec < tick * 1000)
- ts->tv_nsec = tick * 1000;
+ if (ts->tv_sec == 0 && ts->tv_nsec != 0 && ts->tv_nsec < tick * 1000 / 16)
+ ts->tv_nsec = tick * 1000 / 16;
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 11, 9:26 PM (4 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41665749
Default Alt Text
D49312.1794432419.diff (474 B)
Attached To
Mode
D49312: time: Allow higher-frequency POSIX timers
Attached
Detach File
Event Timeline