Hi all, i am running a 2.6.4 kernel on my system , and i am playing a little bit with kernel time issues and helper functions,just to understand how the things really work. While doing that on my x86 system and loaded a module from LDD 3rd edition,jit.c, which uses a dynamic /proc file to return textual information. The info that returns is in this format and uses the kernel functions ,do_gettimeofday,current_kernel_time and jiffies_to_timespec. The output format is: 0x0009073c 0x000000010009073c 1116162967.247441 1116162967.246530656 591.586065248 0x0009073c 0x000000010009073c 1116162967.247463 1116162967.246530656 591.586065248 0x0009073c 0x000000010009073c 1116162967.247476 1116162967.246530656 591.586065248 0x0009073c 0x000000010009073c 1116162967.247489 1116162967.246530656 591.586065248 where the first two values are the jiffies and jiffies_64.The next two are the do_gettimeofday and current_kernel_time and the last value is the jiffies_to_timespec.This output text is "recorded" after 16 minutes of uptime.Shouldnt the last value be the same as uptime.I have attached an output file from the boot time until the time the function resets the struct and starts count from the beggining.Is this a bug or i am missing sth here??? Best regards, Chris.
Attachment:
NAS
Description: Binary data
- Follow-Ups:
- Re: 2.6.4 timer and helper functions
- From: George Anzinger <[email protected]>
- Re: 2.6.4 timer and helper functions
- References:
- Re: Hyper-Threading Vulnerability
- From: Matt Mackall <[email protected]>
- Re: Hyper-Threading Vulnerability
- From: Alan Cox <[email protected]>
- Re: Hyper-Threading Vulnerability
- From: Lee Revell <[email protected]>
- Re: Hyper-Threading Vulnerability
- From: Dave Jones <[email protected]>
- Re: Hyper-Threading Vulnerability
- From: Lee Revell <[email protected]>
- Re: Hyper-Threading Vulnerability
- From: Alan Cox <[email protected]>
- Re: Hyper-Threading Vulnerability
- From: Lee Revell <[email protected]>
- Re: Hyper-Threading Vulnerability
- From: Arjan van de Ven <[email protected]>
- Re: Hyper-Threading Vulnerability
- From: Lee Revell <[email protected]>
- Re: Hyper-Threading Vulnerability
- From: Arjan van de Ven <[email protected]>
- Re: Hyper-Threading Vulnerability
- From: Andi Kleen <[email protected]>
- Re: Hyper-Threading Vulnerability
- Prev by Date: Re: IA64 implementation of timesource for new time of day subsystem
- Next by Date: Re: [PATCH 7/8] ppc64: SPU file system
- Previous by thread: Re: Hyper-Threading Vulnerability
- Next by thread: Re: 2.6.4 timer and helper functions
- Index(es):