<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/times.h, branch v3.4.78</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.4.78</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.4.78'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2009-03-26T17:14:14Z</updated>
<entry>
<title>make exported headers use strict posix types</title>
<updated>2009-03-26T17:14:14Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2009-02-25T23:51:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=85efde6f4e0de9577256c5f0030088d3fd4347c1'/>
<id>urn:sha1:85efde6f4e0de9577256c5f0030088d3fd4347c1</id>
<content type='text'>
A number of standard posix types are used in exported headers, which
is not allowed if __STRICT_KERNEL_NAMES is defined. In order to
get rid of the non-__STRICT_KERNEL_NAMES part and to make sane headers
the default, we have to change them all to safe types.

There are also still some leftovers in reiserfs_fs.h, elfcore.h
and coda.h, but these files have not compiled in user space for
a long time.

This leaves out the various integer types ({u_,u,}int{8,16,32,64}_t),
which we take care of separately.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Cc: David Airlie &lt;airlied@linux.ie&gt;
Cc: Arnaldo Carvalho de Melo &lt;acme@ghostprotocols.net&gt;
Cc: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Cc: netdev@vger.kernel.org
Cc: linux-ppp@vger.kernel.org
Cc: Jaroslav Kysela &lt;perex@perex.cz&gt;
Cc: Takashi Iwai &lt;tiwai@suse.de&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>[PATCH] cleanup: time.h, times.h, timex.h and jiffies.h</title>
<updated>2004-10-19T01:13:49Z</updated>
<author>
<name>Martin Schwidefsky</name>
<email>schwidefsky@de.ibm.com</email>
</author>
<published>2004-10-19T01:13:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c979aaea590dff9fc872b6f938c6cf045afdd2fc'/>
<id>urn:sha1:c979aaea590dff9fc872b6f938c6cf045afdd2fc</id>
<content type='text'>
This patch moves some definitions among time.h, times.h, timex.h and
jiffies.h.  The purpose is to sort all jiffies related functions to
jiffies.h, to get rid of the cyclic dependency between time.h &amp; timex.h and
to move all #include lines to the start of the header files.

Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Fix reporting of process start times</title>
<updated>2004-10-13T14:27:49Z</updated>
<author>
<name>Tim Schmielau</name>
<email>tim@physik3.uni-rostock.de</email>
</author>
<published>2004-10-13T14:27:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b9877c907d56b803b5b0241c2465ce768809fce9'/>
<id>urn:sha1:b9877c907d56b803b5b0241c2465ce768809fce9</id>
<content type='text'>
Derive process start times from the posix_clock_monotonic notion of uptime
instead of "jiffies", consistent with the earlier change to /proc/uptime
itself.
(http://linus.bkbits.net:8080/linux-2.5/cset@3ef4851dGg0fxX58R9Zv8SIq9fzNmQ?na%0Av=index.html|src/.|src/fs|src/fs/proc|related/fs/proc/proc_misc.c)

Process start times are reported to userspace in units of 1/USER_HZ since
boot, thus applications as procps need the value of "uptime" to convert
them into absolute time.

Currently "uptime" is derived from an ntp-corrected time base, but process
start time is derived from the free-running "jiffies" counter.  This
results in inaccurate, drifting process start times as seen by the user,
even if the exported number stays constant, because the users notion of
"jiffies" changes in time.

It's John Stultz's patch anyways, which I only messed up a bit, but since
people started trading signed-off lines on lkml:

Signed-off-by: Tim Schmielau &lt;tim@physik3.uni-rostock.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] jiffies-to-clockt fix</title>
<updated>2004-05-10T07:05:07Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2004-05-10T07:05:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6096781056dd1af176317798bbdafcd8c8c8a282'/>
<id>urn:sha1:6096781056dd1af176317798bbdafcd8c8c8a282</id>
<content type='text'>
From: john stultz &lt;johnstul@us.ibm.com&gt;

This patch polishes up Tim Schmielau's (tim@physik3.uni-rostock.de) fix for
jiffies_to_clock_t() and jiffies_64_to_clock_t().  The issues observed was
w/ /proc output not matching up to wall time due to accumulated error
caused by HZ not being exactly 1000 on i386 systems.  The solution is to
correct that error by using the more accurate TICK_NSEC in our calculation.

Additionally, this patch corrects 3 warnings in the TCP layer uncovered by
this change.
</content>
</entry>
<entry>
<title>[JIFFIES]: linux/times.h needs asm/param.h (for USER_HZ)</title>
<updated>2003-11-09T11:26:19Z</updated>
<author>
<name>Hideaki Yoshifuji</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2003-11-09T11:26:19Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=69a494d07853bf08956bba72f72913eb12e1f418'/>
<id>urn:sha1:69a494d07853bf08956bba72f72913eb12e1f418</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add "clock_t_to_jiffies()" conversion function with</title>
<updated>2003-07-17T02:54:52Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@home.osdl.org</email>
</author>
<published>2003-07-17T02:54:52Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=220443f8fa6562345e6848fa9f3c956343daf0d6'/>
<id>urn:sha1:220443f8fa6562345e6848fa9f3c956343daf0d6</id>
<content type='text'>
some rather minimal overflow protection. 
</content>
</entry>
<entry>
<title>[PATCH] use 64 bit jiffies: infrastructure</title>
<updated>2003-02-04T02:19:44Z</updated>
<author>
<name>Tim Schmielau</name>
<email>tim@physik3.uni-rostock.de</email>
</author>
<published>2003-02-04T02:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3da2fe139367719839cf44325ba44eae3d37f38f'/>
<id>urn:sha1:3da2fe139367719839cf44325ba44eae3d37f38f</id>
<content type='text'>
Provide a sane way to avoid unneccessary locking on 64 bit platforms,
and a 64 bit analogous to "jiffies_to_clock_t()".
</content>
</entry>
<entry>
<title>Make in-kernel HZ be 1000 on x86, retaining user-level 100 HZ clock_t.</title>
<updated>2002-07-01T07:41:38Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@home.transmeta.com</email>
</author>
<published>2002-07-01T07:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f9fc1633c7327e38d44e2303034d88eda325717b'/>
<id>urn:sha1:f9fc1633c7327e38d44e2303034d88eda325717b</id>
<content type='text'>
Stop using "struct tms" internally - always use timer ticks (or one of
the sane timeval/timespec types) instead.

Explicitly convert to clock_t when copying to user space for the old
broken interfaces that still use "clock_t".

Clean up and unify jiffies&lt;-&gt;timeval conversion.
</content>
</entry>
<entry>
<title>Import changeset</title>
<updated>2002-02-05T01:40:40Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@athlon.transmeta.com</email>
</author>
<published>2002-02-05T01:40:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7a2deb32924142696b8174cdf9b38cd72a11fc96'/>
<id>urn:sha1:7a2deb32924142696b8174cdf9b38cd72a11fc96</id>
<content type='text'>
</content>
</entry>
</feed>
