Skip to contentSkip to conversation

POSIX timers interface for IA64

Linux-ia64 David Mosberger 2 participants 2 messages Mar 13, 2003 – Mar 18, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Eric Piel

Eric> Hello, Here is a patch to have the POSIX timer interface Eric> completly integrated in ia64 (2.5.64). The programs in Eric> userland can now access the siginfo structure. With that patch Eric> the test programs of the high resolution timers pass without Eric> error but one which seems to also be triggered on ix86:
Eric> nanosleeps too short.

Eric> I did the same modifications to the ia32 support but I wasn't Eric> able to test them.

I applied this patch in my (ia64) tree.

Thanks!

	--david
#1 lore raw
Quoted 9 lines · David Mosberger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Eric Piel

Eric> Hello, Here is a patch to have the POSIX timer interface Eric> completly integrated in ia64 (2.5.64). The programs in Eric> userland can now access the siginfo structure. With that patch Eric> the test programs of the high resolution timers pass without Eric> error but one which seems to also be triggered on ix86:
Eric> nanosleeps too short.

When we get the cascade stuff fixed :), we can address this issue. On the ix86 the too short sleep is caused by adding less than 1/HZ to the wall clock each timer interrupt. You might want to see what value your platform adds. I intend to address this soon, but will need to check with the community about the correct fix.

As it now stands, CLOCK_MONOTONIC ticks at a different rate than CLOCK_REALTIME. What to do, Oh what to do...

-g

Quoted 22 lines

Eric> I did the same modifications to the ia32 support but I wasn't Eric> able to test them.

I applied this patch in my (ia64) tree.

Thanks!

	--david

-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
to unsubscribe: http://lists.sourceforge.net/lists/listinfo/high-res-timers-discourse
High-res-timers-discourse mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/high-res-timers-discourse

Signature · 3 lines
George Anzinger   [email protected]
High-res-timers:  http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml