[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46796DEE.5090206@ru.mvista.com>
Date: Wed, 20 Jun 2007 22:11:58 +0400
From: Sergei Shtylyov <sshtylyov@...mvista.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Tony Breeds <tony@...eyournoodle.com>,
Daniel Walker <dwalker@...sta.com>,
Andrew Morton <akpm@...l.org>,
john stultz <johnstul@...ibm.com>,
LKML <linux-kernel@...r.kernel.org>,
LinuxPPC-dev <linuxppc-dev@...abs.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [RFC] clocksouce implementation for powerpc
Hello.
Thomas Gleixner wrote:
>>>>+void update_vsyscall(struct timespec *wall_time, struct clocksource *clock)
>>>>+{
>>>>+ timer_recalc_offset(tb_last_jiffy);
>>>>+ timer_check_rtc();
>>>>+}
>>
>>>Hmm .. This doesn't look like it's taking into account that the time has
>>>changed ..
>>
>> Why? By the time it gets called (form the timer softirq context)
>
>
> It is called from interrupt context at least in mainline. Only the -rt
> patch moves this to the softirq.
Anyway, by the time it gets called, tb_last_jiffy gets updated.
> tglx
WBR, Sergei
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists