freebsd-skq/sys/mips
John Baldwin a3870a1826 Very rough first cut at NUMA support for the physical page allocator. For
now it uses a very dumb first-touch allocation policy.  This will change in
the future.
- Each architecture indicates the maximum number of supported memory domains
  via a new VM_NDOMAIN parameter in <machine/vmparam.h>.
- Each cpu now has a PCPU_GET(domain) member to indicate the memory domain
  a CPU belongs to.  Domain values are dense and numbered from 0.
- When a platform supports multiple domains, the default freelist
  (VM_FREELIST_DEFAULT) is split up into N freelists, one for each domain.
  The MD code is required to populate an array of mem_affinity structures.
  Each entry in the array defines a range of memory (start and end) and a
  domain for the range.  Multiple entries may be present for a single
  domain.  The list is terminated by an entry where all fields are zero.
  This array of structures is used to split up phys_avail[] regions that
  fall in VM_FREELIST_DEFAULT into per-domain freelists.
- Each memory domain has a separate lookup-array of freelists that is
  used when fulfulling a physical memory allocation.  Right now the
  per-domain freelists are listed in a round-robin order for each domain.
  In the future a table such as the ACPI SLIT table may be used to order
  the per-domain lookup lists based on the penalty for each memory domain
  relative to a specific domain.  The lookup lists may be examined via a
  new vm.phys.lookup_lists sysctl.
- The first-touch policy is implemented by using PCPU_GET(domain) to
  pick a lookup list when allocating memory.

Reviewed by:	alc
2010-07-27 20:33:50 +00:00
..
adm5120 Remove some stray ';'s 2010-05-13 01:50:29 +00:00
alchemy Hack to make ALCHEMY compile again... 2010-02-18 19:41:38 +00:00
atheros Add TX-path aligned/unaligned stats for if_arge. 2010-07-08 15:20:57 +00:00
cavium o) Add the "octusb" controller which supports the first port of the Octeon 2010-07-20 19:32:25 +00:00
compile
conf Update the port of FreeBSD to Cavium Octeon to use the Cavium Simple Executive 2010-07-20 19:25:11 +00:00
idt - Call post-boot fixup function in order to get proper static 2010-01-25 00:44:05 +00:00
include Very rough first cut at NUMA support for the physical page allocator. For 2010-07-27 20:33:50 +00:00
malta Fix MALTA64 build. 2010-04-19 09:03:34 +00:00
mips Add some comments. 2010-07-23 08:20:14 +00:00
rmi mips/rmi/bus_space_rmi_pci.c is needed even when PCI is disabled. This 2010-07-27 19:31:10 +00:00
sentry5 - Call post-boot fixup function in order to get proper static 2010-01-25 00:44:05 +00:00
sibyte Remove redunant machine/cpuregs.h include. 2010-07-13 22:30:27 +00:00