lkml.org 
[lkml]   [2002]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] 2.5.1-pre5: per-cpu areas
>>>>> On Thu, 14 Mar 2002 01:37:21 -0800, Richard Henderson <rth@twiddle.net> said:

Richard> This definitely needs to be per-architecture. On Alpha, I
Richard> think I can use the Thread Local Storage model to be added
Richard> to binutils 2.13 (and potentially compiler support to gcc
Richard> 3.[23]). IA-64 may be able to do the same. It's certain
Richard> that x86 can't, since the userland model requires %gs:0
Richard> point to the thread base, and the kernel folk would never
Richard> cotton to the segment swapping that would be needed.

Actually, on ia64 I want to use a pinned TLB entry to map the per-CPU
area. This has the advantage that accessing the local version of a
per-CPU variable has zero extra overhead. We have been doing this for
the cpu_info structure for a while now.

--david
-
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: 2005-03-22 13:25    [W:0.075 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site