Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
arch.h File Reference

Go to the source code of this file.

Macros

#define MAX_COMPACT_NODES   64
 
#define MAXCPUS   128
 
#define MAX_NASIDS   256
 
#define MAX_REGIONS   64
 
#define MAX_NONPREMIUM_REGIONS   16
 
#define MAX_PREMIUM_REGIONS   MAX_REGIONS
 
#define MAX_PARTITIONS   MAX_REGIONS
 
#define NASID_MASK_BYTES   ((MAX_NASIDS + 7) / 8)
 
#define MAX_MEM_SLOTS   32 /* max slots per node */
 
#define SLOT_SHIFT   (27)
 
#define SLOT_MIN_MEM_SIZE   (32*1024*1024)
 
#define CPUS_PER_NODE   2 /* CPUs on a single hub */
 
#define CPUS_PER_NODE_SHFT   1 /* Bits to shift in the node number */
 
#define CPUS_PER_SUBNODE   2 /* CPUs on a single hub PI */
 

Macro Definition Documentation

#define CPUS_PER_NODE   2 /* CPUs on a single hub */

Definition at line 68 of file arch.h.

#define CPUS_PER_NODE_SHFT   1 /* Bits to shift in the node number */

Definition at line 69 of file arch.h.

#define CPUS_PER_SUBNODE   2 /* CPUs on a single hub PI */

Definition at line 70 of file arch.h.

#define MAX_COMPACT_NODES   64

Definition at line 20 of file arch.h.

#define MAX_MEM_SLOTS   32 /* max slots per node */

Definition at line 62 of file arch.h.

#define MAX_NASIDS   256

Definition at line 39 of file arch.h.

#define MAX_NONPREMIUM_REGIONS   16

Definition at line 45 of file arch.h.

#define MAX_PARTITIONS   MAX_REGIONS

Definition at line 52 of file arch.h.

#define MAX_PREMIUM_REGIONS   MAX_REGIONS

Definition at line 46 of file arch.h.

#define MAX_REGIONS   64

Definition at line 44 of file arch.h.

#define MAXCPUS   128

Definition at line 26 of file arch.h.

#define NASID_MASK_BYTES   ((MAX_NASIDS + 7) / 8)

Definition at line 54 of file arch.h.

#define SLOT_MIN_MEM_SIZE   (32*1024*1024)

Definition at line 66 of file arch.h.

#define SLOT_SHIFT   (27)

Definition at line 65 of file arch.h.