Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
smpboot.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  smp_hotplug_thread
 

Functions

int smpboot_register_percpu_thread (struct smp_hotplug_thread *plug_thread)
 
void smpboot_unregister_percpu_thread (struct smp_hotplug_thread *plug_thread)
 
int smpboot_thread_schedule (void)
 

Function Documentation

int smpboot_register_percpu_thread ( struct smp_hotplug_thread plug_thread)

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.

int smpboot_thread_schedule ( void  )
void smpboot_unregister_percpu_thread ( struct smp_hotplug_thread plug_thread)

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.