lkml.org 
[lkml]   [2005]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.036 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site