cregit-Linux how code gets into the kernel

Release 4.15 kernel/smpboot.h

Directory: kernel
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef SMPBOOT_H

#define SMPBOOT_H

struct task_struct;

#ifdef CONFIG_GENERIC_SMP_IDLE_THREAD
struct task_struct *idle_thread_get(unsigned int cpu);
void idle_thread_set_boot_cpu(void);
void idle_threads_init(void);
#else

static inline struct task_struct *idle_thread_get(unsigned int cpu) { return NULL; }

Contributors

PersonTokensPropCommitsCommitProp
Thomas Gleixner16100.00%1100.00%
Total16100.00%1100.00%


static inline void idle_thread_set_boot_cpu(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Thomas Gleixner8100.00%1100.00%
Total8100.00%1100.00%


static inline void idle_threads_init(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Suresh B. Siddha787.50%150.00%
Thomas Gleixner112.50%150.00%
Total8100.00%2100.00%

#endif int smpboot_create_threads(unsigned int cpu); int smpboot_park_threads(unsigned int cpu); int smpboot_unpark_threads(unsigned int cpu); void __init cpuhp_threads_init(void); #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Thomas Gleixner9086.54%675.00%
Suresh B. Siddha1312.50%112.50%
Greg Kroah-Hartman10.96%112.50%
Total104100.00%8100.00%
Directory: kernel
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.