Messages in this thread | | | From | David Mosberger <> | Date | Wed, 26 Jan 2005 09:51:45 -0800 | Subject | Re: [RFC][PATCH] new timeofday arch specific hooks (v. A2) |
| |
>>>>> On Wed, 26 Jan 2005 08:52:12 -0800 (PST), Christoph Lameter <clameter@sgi.com> said:
Christoph> On Wed, 26 Jan 2005, Martin Schwidefsky wrote: >> Why not add an if at the start of gettimeofday to check when the >> last ntp updates has been done and if it has been too long since >> the last time then call ntp_scale ? That way the update isn't >> done on every call to gettimeofday and we don't depend on the >> regular timer tick.
Christoph> Because ia64 does not support calling arbitrary C Christoph> functions in fastcalls.
However, it can fall back on a heavy-weight syscall easily. We already do that on a number of occasions, e.g., if we find a spinlock already taken. I think it would be OK to have gettimeofday occasionally fall back on the heavy-weight version to do NTP magic.
--david - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |