#include <linux/cpu.h>
#include <linux/err.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/export.h>
#include <linux/percpu.h>
#include <linux/kthread.h>
#include <linux/smpboot.h>
#include "smpboot.h"
Go to the source code of this file.
- Enumerator:
HP_THREAD_NONE |
|
HP_THREAD_ACTIVE |
|
HP_THREAD_PARKED |
|
Definition at line 88 of file smpboot.c.
int smpboot_create_threads |
( |
unsigned int |
cpu | ) |
|
void smpboot_park_threads |
( |
unsigned int |
cpu | ) |
|
smpboot_register_percpu_thread - Register a per_cpu thread related to hotplug : Hotplug thread descriptor
Creates and starts the threads on all online cpus.
Definition at line 264 of file smpboot.c.
void smpboot_unpark_threads |
( |
unsigned int |
cpu | ) |
|
smpboot_unregister_percpu_thread - Unregister a per_cpu thread related to hotplug : Hotplug thread descriptor
Stops all threads on all possible cpus.
Definition at line 291 of file smpboot.c.