summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/mm/init.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2007-05-02 19:27:11 +0200
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 19:27:11 +0200
commitc8118c6c07f2edfd697aaa0b93e08c3b65a5a675 (patch)
treeefba31a24e3f2c629f727d53767fb18aaab915e2 /arch/x86_64/mm/init.c
parent[PATCH] x86-64: fix vtime() vsyscall (diff)
downloadlinux-c8118c6c07f2edfd697aaa0b93e08c3b65a5a675.tar.xz
linux-c8118c6c07f2edfd697aaa0b93e08c3b65a5a675.zip
[PATCH] x86-64: vsyscall_gtod_data diet and vgettimeofday() fix
Current vsyscall_gtod_data is large (3 or 4 cache lines dirtied at timer interrupt). We can shrink it to exactly 64 bytes (1 cache line on AMD64) Instead of copying a whole struct clocksource, we copy only needed fields. I deleted an unused field : offset_base This patch fixes one oddity in vgettimeofday(): It can returns a timeval with tv_usec = 1000000. Maybe not a bug, but why not doing the right thing ? Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64/mm/init.c')
0 files changed, 0 insertions, 0 deletions