Re: FOR REVIEW: New x86-64 vsyscall vgetcpu()

From: Zoltan Menyhart <>
Date: 2006-06-16 22:48:33
Jes Sorensen wrote:
> Zoltan Menyhart wrote:
>>Just to make sure I understand it correctly...
>>Assuming I have allocated per CPU data (numa control, etc.) pointed at by:
> I think you misunderstood - vgetcpu is for userland usage, not within
> the kernel.
> Cheers,
> Jes
I did understand it as a user land stuff.
This is why I want to map the current task structure into the user space.
In user code, we could see the actual value of the "current->thread_info.cpu".
My "#define current ((struct task_struct *) 0x...)" is not the same as
the kernel's one.


To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri Jun 16 22:49:27 2006

This archive was generated by hypermail 2.1.8 : 2006-06-16 22:49:37 EST