iprb shouldn't abuse ddi_get_time(9f)
ddi_get_time() returns a Unix timestamp based on the current TOD. If the TOD setting changes for whatever reason (daylight saving time adjustments, NTP), the value returned by ddi_get_time() may change non-monotonically. This makes it unsuitable for calculating timeouts and wait times.
Updated by Electric Monk over 6 years ago
- Status changed from New to Closed
- % Done changed from 80 to 100
commit 0529d5c654f682ce87e4f74affd1c83c429c50e1 Author: Josef 'Jeff' Sipek <firstname.lastname@example.org> Date: 2014-05-14T23:36:59.000Z 4778 iprb shouldn't abuse ddi_get_time(9f) Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Reviewed by: Hans Rosenfeld <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>