Displaying 9 results from an estimated 9 matches for "vgetcpu".
Did you mean:
getcpu
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 14/17] paravirt_ops - vsyscall
...__xtime.tv_nsec / 1000;
if (__vxtime.mode != VXTIME_HPET) {
- t = get_cycles_sync();
+ t = vget_cycles_sync();
if (t < __vxtime.last_tsc)
t = __vxtime.last_tsc;
usec += ((t - __vxtime.last_tsc) *
@@ -147,8 +147,8 @@ time_t __vsyscall(1) vtime(time_t *t)
long __vsyscall(2)
vgetcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
{
- unsigned int dummy, p;
- unsigned long j = 0;
+ unsigned int p;
+ unsigned long dummy, j = 0;
/* Fast cache - only recompute value once per jiffies and avoid
relatively costly rdtscp/cpuid otherwise.
@@ -162,7 +162,8 @@ vgetc...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 14/17] paravirt_ops - vsyscall
...__xtime.tv_nsec / 1000;
if (__vxtime.mode != VXTIME_HPET) {
- t = get_cycles_sync();
+ t = vget_cycles_sync();
if (t < __vxtime.last_tsc)
t = __vxtime.last_tsc;
usec += ((t - __vxtime.last_tsc) *
@@ -147,8 +147,8 @@ time_t __vsyscall(1) vtime(time_t *t)
long __vsyscall(2)
vgetcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
{
- unsigned int dummy, p;
- unsigned long j = 0;
+ unsigned int p;
+ unsigned long dummy, j = 0;
/* Fast cache - only recompute value once per jiffies and avoid
relatively costly rdtscp/cpuid otherwise.
@@ -162,7 +162,8 @@ vgetc...
2007 Apr 18
0
[PATCH] paravirt_ops x86_64 , take 2
...__xtime.tv_nsec / 1000;
if (__vxtime.mode != VXTIME_HPET) {
- t = get_cycles_sync();
+ t = vget_cycles_sync();
if (t < __vxtime.last_tsc)
t = __vxtime.last_tsc;
usec += ((t - __vxtime.last_tsc) *
@@ -147,8 +147,8 @@ time_t __vsyscall(1) vtime(time_t *t)
long __vsyscall(2)
vgetcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
{
- unsigned int dummy, p;
- unsigned long j = 0;
+ unsigned int p;
+ unsigned long dummy, j = 0;
/* Fast cache - only recompute value once per jiffies and avoid
relatively costly rdtscp/cpuid otherwise.
@@ -162,7 +162,8 @@ vgetc...
2007 Apr 18
0
[PATCH] paravirt_ops x86_64 , take 2
...__xtime.tv_nsec / 1000;
if (__vxtime.mode != VXTIME_HPET) {
- t = get_cycles_sync();
+ t = vget_cycles_sync();
if (t < __vxtime.last_tsc)
t = __vxtime.last_tsc;
usec += ((t - __vxtime.last_tsc) *
@@ -147,8 +147,8 @@ time_t __vsyscall(1) vtime(time_t *t)
long __vsyscall(2)
vgetcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
{
- unsigned int dummy, p;
- unsigned long j = 0;
+ unsigned int p;
+ unsigned long dummy, j = 0;
/* Fast cache - only recompute value once per jiffies and avoid
relatively costly rdtscp/cpuid otherwise.
@@ -162,7 +162,8 @@ vgetc...
2008 Sep 28
3
[LLVMdev] compile linux kernel
......
llvm-gcc -m elf_x86_64 -nostdlib -fPIC -shared
-Wl,-soname=linux-vdso.so.1 -Wl,--hash-style=sysv
-Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096
-Wl,-T,arch/x86_64/vdso/vdso.lds arch/x86_64/vdso/vdso-start.o
arch/x86_64/vdso/vdso-note.o arch/x86_64/vdso/vclock_gettime.o
arch/x86_64/vdso/vgetcpu.o arch/x86_64/vdso/vvar.o -o
arch/x86_64/vdso/vdso.so
arch/x86_64/vdso/vvar.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
....
Now, If the build systems generates .so files, then it will be
difficult o actually generate fully arch-independent kernel code,
i...
2008 Sep 28
0
[LLVMdev] compile linux kernel
On Sep 27, 2008, at 4:34 PM, Ashish Bijlani wrote:
> Thanks for the help. I've a couple of questions though:
>
> How does LLVM deal with inline assembly?
It's been implemented piece by piece on an as-needed basis. At this
point most of the things people actually use should work. llvm-gcc
has seen the Linux kernel, so most usages in there ought to work.
The symptoms here
2008 Sep 27
2
[LLVMdev] compile linux kernel
Thanks for the help. I've a couple of questions though:
How does LLVM deal with inline assembly?
I'm trying to compile kernel and I get this error probably because
LLVM is not able to handle inline assembly. I'm using LLVM-2.3
code snippet from "arch/x86_64/kernel/asm-offsets.c"
....
#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 "
2007 Aug 08
19
Introducing paravirt_ops for x86_64
...ernel/time.c | 37 +
arch/x86_64/kernel/traps.c | 1
arch/x86_64/kernel/tsc.c | 42 +
arch/x86_64/kernel/vmlinux.lds.S | 6
arch/x86_64/kernel/vsyscall.c | 4
arch/x86_64/kernel/x8664_ksyms.c | 6
arch/x86_64/mm/pageattr.c | 2
arch/x86_64/vdso/vgetcpu.c | 4
include/asm-x86_64/alternative.h | 8
include/asm-x86_64/apic.h | 13
include/asm-x86_64/desc.h | 183 +++++--
include/asm-x86_64/e820.h | 6
include/asm-x86_64/irq.h | 2
include/asm-x86_64/irqflags.h | 32 +
include/asm-x86_64/mmu...
2007 Aug 08
19
Introducing paravirt_ops for x86_64
...ernel/time.c | 37 +
arch/x86_64/kernel/traps.c | 1
arch/x86_64/kernel/tsc.c | 42 +
arch/x86_64/kernel/vmlinux.lds.S | 6
arch/x86_64/kernel/vsyscall.c | 4
arch/x86_64/kernel/x8664_ksyms.c | 6
arch/x86_64/mm/pageattr.c | 2
arch/x86_64/vdso/vgetcpu.c | 4
include/asm-x86_64/alternative.h | 8
include/asm-x86_64/apic.h | 13
include/asm-x86_64/desc.h | 183 +++++--
include/asm-x86_64/e820.h | 6
include/asm-x86_64/irq.h | 2
include/asm-x86_64/irqflags.h | 32 +
include/asm-x86_64/mmu...