Linux Kernel
3.7.1
|
#include <linux/workqueue.h>
#include <linux/bootmem.h>
#include <linux/cpuset.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/cpu.h>
#include <linux/smp.h>
#include <linux/mm.h>
#include <asm/sysinfo.h>
Go to the source code of this file.
Data Structures | |
struct | mask_info |
Macros | |
#define | KMSG_COMPONENT "cpu" |
#define | pr_fmt(fmt) KMSG_COMPONENT ": " fmt |
#define | PTF_HORIZONTAL (0UL) |
#define | PTF_VERTICAL (1UL) |
#define | PTF_CHECK (2UL) |
Functions | |
int | topology_set_cpu_management (int fc) |
void | store_topology (struct sysinfo_15_1_x *info) |
int | arch_update_cpu_topology (void) |
void | topology_schedule_update (void) |
void | topology_expect_change (void) |
early_param ("topology", early_parse_topology) | |
void __init | s390_init_cpu_topology (void) |
int | topology_cpu_init (struct cpu *cpu) |
device_initcall (topology_init) | |
Variables | |
cpumask_t | cpu_core_map [NR_CPUS] |
unsigned char | cpu_core_id [NR_CPUS] |
unsigned char | cpu_socket_id [NR_CPUS] |
cpumask_t | cpu_book_map [NR_CPUS] |
unsigned char | cpu_book_id [NR_CPUS] |
#define KMSG_COMPONENT "cpu" |
Definition at line 6 of file topology.c.
#define pr_fmt | ( | fmt | ) | KMSG_COMPONENT ": " fmt |
Definition at line 7 of file topology.c.
#define PTF_CHECK (2UL) |
Definition at line 24 of file topology.c.
#define PTF_HORIZONTAL (0UL) |
Definition at line 22 of file topology.c.
#define PTF_VERTICAL (1UL) |
Definition at line 23 of file topology.c.
Definition at line 256 of file topology.c.
device_initcall | ( | topology_init | ) |
early_param | ( | "topology" | , |
early_parse_topology | |||
) |
Definition at line 344 of file topology.c.
void store_topology | ( | struct sysinfo_15_1_x * | info | ) |
Definition at line 248 of file topology.c.
Definition at line 444 of file topology.c.
Definition at line 307 of file topology.c.
Definition at line 282 of file topology.c.
Definition at line 218 of file topology.c.
Definition at line 47 of file topology.c.
Definition at line 46 of file topology.c.
Definition at line 42 of file topology.c.
cpumask_t cpu_core_map |
Definition at line 41 of file topology.c.
Definition at line 43 of file topology.c.