Re: [rtc-linux] [PATCH 2/2] rtc: Add boot_timesource sysfsattribute

From: Matthew Garrett
Date: Fri Sep 04 2009 - 12:30:45 EST


On Fri, Sep 04, 2009 at 06:25:28PM +0200, Alessandro Zummo wrote:

> This feature is meant to be in addition of the regular
> hwclock call to read the system time.
>
> Have you tested if there are drawbacks by not reading it? Like
> TZ, DST and similar?

Current util-linux has a hwclock that can just set the timezone without
performing a full read. However, there's no way of knowing whether it's
safe to do this without knowing that the kernel config option was set
and used. We'd prefer to avoid always doing --hctosys because it's a
noticable performance hit on boot if the work's already been done by the
kernel.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/