Marius Strobl
4c67374c75
Adjust the padding of struct pcpu to r187357.
2009-01-18 13:04:38 +00:00
John Baldwin
70d12a18f2
Export 'struct pcpu' to userland w/o requiring _KERNEL. A few ports
...
already define _KERNEL to get to this and I'm about to add hooks to
libkvm to access per-CPU data.
MFC after: 1 week
2008-08-19 19:53:52 +00:00
John Birrell
a9445e17cc
Adjust the padding to account for the change of size of the MI part
...
of struct pcpu.
2007-11-29 20:50:40 +00:00
Marius Strobl
5077aaca20
Adjust the padding of struct pcpu to src/sys/sys/pcpu.h rev 1.23.
2007-11-11 12:30:56 +00:00
Kip Macy
d84d0dfee6
fix cassert failure by adjusting padding
2007-06-12 21:19:12 +00:00
Attilio Rao
6759608248
Rework the PCPU_* (MD) interface:
...
- Rename PCPU_LAZY_INC into PCPU_INC
- Add the PCPU_ADD interface which just does an add on the pcpu member
given a specific value.
Note that for most architectures PCPU_INC and PCPU_ADD are not safe.
This is a point that needs some discussions/work in the next days.
Reviewed by: alc, bde
Approved by: jeff (mentor)
2007-06-04 21:38:48 +00:00
Alan Cox
c640357f04
Push down the implementation of PCPU_LAZY_INC() into the machine-dependent
...
header file. Reimplement PCPU_LAZY_INC() on amd64 and i386 making it
atomic with respect to interrupts.
Reviewed by: bde, jhb
2007-03-11 05:54:29 +00:00
Kip Macy
a7a6fa29bd
reduce padding to compensate for recent change to sys/pcpu.h (tinderbox fix)
2006-12-20 20:18:07 +00:00
Kip Macy
7e3cb9f8ce
GC unused fields in pcpu
2006-12-17 02:04:19 +00:00
Kip Macy
abbeb75f29
make size of pad non-zero so that trap-tracing code doesn't overwrite the
...
base of our stack
2006-12-11 04:50:25 +00:00
Kip Macy
9872e24f3c
remove unused field from pcpu structure
2006-11-22 04:27:24 +00:00
Kip Macy
3ad9c2127b
remove unused fields
...
Approved by: scottl (standing in for mentor rwatson)
2006-11-18 19:23:37 +00:00
Kip Macy
2405f16615
placate Grim Reaper with sun4v support
2006-10-05 06:14:28 +00:00