aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/percpu.h
Commit message (Collapse)AuthorAgeFilesLines
* force inclusion of xen/config.h through compiler optionJan Beulich2012-01-131-1/+0
| | | | | | | | | | | | | As we expect all source files to include the header as the first thing anyway, stop doing this by repeating the inclusion in each and every source file (and in many headers), but rather enforce this uniformly through the compiler command line. As a first cleanup step, remove the explicit inclusion from all common headers. Further cleanup can be done incrementally. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* Introduce and use a per-CPU read-mostly sub-sectionKeir Fraser2009-07-131-0/+10
| | | | | | | | | | | | | | | Since mixing data that only gets setup once and then (perhaps frequently) gets read by remote CPUs with data that the local CPU may modify (again, perhaps frequently) still causes undesirable cache protocol related bus traffic, separate the former class of objects from the latter. These objects converted here are just picked based on their write-once (or write-very-rarely) properties; perhaps some more adjustments may be desirable subsequently. The primary users of the new sub-section will result from the next patch. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* [XEN] Make tlbflush_time a PER_CPU variable.kaf24@firebug.cl.cam.ac.uk2006-08-081-1/+0
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Pull the Linux percpu interface into Xen. Implemented forkaf24@firebug.cl.cam.ac.uk2006-04-211-0/+15
x86 and used it to eliminate the percpu_ctxt struct from arch/x86/domain.c. Signed-off-by: Keir Fraser <keir@xensource.com>