reparent_to_kthreadd(9) suse man page | unix.com

Man Page: reparent_to_kthreadd

Operating Environment: suse

Section: 9

REPARENT_TO_KTHREADD(9) 					   Driver Basics					   REPARENT_TO_KTHREADD(9)

NAME
reparent_to_kthreadd - Reparent the calling kernel thread to kthreadd
SYNOPSIS
void reparent_to_kthreadd(void);
ARGUMENTS
void no arguments
DESCRIPTION
If a kernel thread is launched as a result of a system call, or if it ever exits, it should generally reparent itself to kthreadd so it isn't in the way of other processes and is correctly cleaned up on exit. The various task state such as scheduling policy and priority may have been inherited from a user process, so we reset them to sane values here. NOTE that reparent_to_kthreadd gives the caller full capabilities.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 REPARENT_TO_KTHREADD(9)
Related Man Pages
cpu_switch(9) - debian
pthread_setschedprio(3) - suse
kernel_isrthread(9r) - osf1
kernel_thread_w_arg(9r) - osf1
pthread_getschedparam(3c) - sunos
Similar Topics in the Unix Linux Community
Change directory error
Cut command on RHEL 6.8 compatibility issues
Tar Command
A (ksh) Library For and From UNIX.com
32 bit process addressing more than 4GB