lkml.org 
[lkml]   [2006]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] x86: Add portable getcpu call
Date
On Wednesday 27 September 2006 14:39, Heiko Carstens wrote:
> > > So this means that the contents of getcpu_cache will look completely
> > > different if a process runs in 32bit mode or 64bit mode. Even if you're
> > > saying "user programs should not..." this looks odd to me.
> > > Is this really on purpose and do you really think that no user space
> > > application will ever rely on the format of getcpu_cache?
> >
> > The vsyscalls do, but if anything else does it deserves breaking.
> > In the user headers it will also be just a array blob.
>
> Ah, ok. The blob thing is the part I missed then.

Hmm, perhaps it's better to do that in the standard kernel headers.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-27 14:47    [W:0.032 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site