Changeset 269

Timestamp:
Apr 22, 2014, 4:16:51 PM (11 years ago)
Author:
bouyer
Message:

Start of NUMA handling, conditionnal on #define VM_NUMA in vmparams.h

  • sort memory regions per cluster and install each cluster's memory in its own list. This now requires the memory nodes to be referenced in the cluster node in the device tree
  • Move 'struct uvm_cpu' in ci_data and remove the array of uvm_cpus in struct uvm. As it's per CPU is has to be allocated close to the CPU.
  • add a preferred free list in struct uvm_cpu.
  • add a struct cpu_info *ci argument to uvm_uarea_alloc(), and introduce uvm_km_alloc_cpu() which is uvm_km_alloc() with and extra struct cpu_info *ci argument. If ci is not NULL memory will be allocated from this cpu's preffered free list if possible.
  • for LWP-bound flags, pass the target CPU to uvm_uarea_alloc().
(No files)

Note: See TracChangeset for help on using the changeset viewer.