freebsd-dev/sys/mips
Jeff Roberson 50c202c592 Implement a facility for dynamic per-cpu variables.
- Modules and kernel code alike may use DPCPU_DEFINE(),
   DPCPU_GET(), DPCPU_SET(), etc. akin to the statically defined
   PCPU_*.  Requires only one extra instruction more than PCPU_* and is
   virtually the same as __thread for builtin and much faster for shared
   objects.  DPCPU variables can be initialized when defined.
 - Modules are supported by relocating the module's per-cpu linker set
   over space reserved in the kernel.  Modules may fail to load if there
   is insufficient space available.
 - Track space available for modules with a one-off extent allocator.
   Free may block for memory to allocate space for an extent.

Reviewed by:    jhb, rwatson, kan, sam, grehan, marius, marcel, stas
2009-06-23 22:42:39 +00:00
..
adm5120 Make compile again using the correct prototype for the 2009-06-17 10:23:25 +00:00
compile
conf Add a .cvsignore file and along with that put an svn:ignore proprty 2009-06-17 10:48:32 +00:00
idt Make compile again using proper protoypes for 2009-06-17 10:26:37 +00:00
include A variety of changes: 2009-05-02 06:12:38 +00:00
malta Fix MALTA build; some prototypes were wrong and blew up when kobj method 2009-06-12 22:49:35 +00:00
mips Implement a facility for dynamic per-cpu variables. 2009-06-23 22:42:39 +00:00
sentry5 Remove reference to machine/tlb.h. It no longer exists, and isn't 2008-09-26 04:45:56 +00:00