Copyright 1993 Rickard E. Faith (firstname.lastname@example.org) Portions extracted from linux/mm/swap.c: Copyright (C) 1991, 1992 Linus Torvalds %%%LICENSE_START(VERBATIM) Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting de...
NAMEidle - make process 0 idle
DESCRIPTIONidle() is an internal system call used during bootstrap. It marks the process's pages as swappable, lowers its priority, and enters the main scheduling loop. idle() never returns.
Only process 0 may call idle(). Any user process, even a process with superuser permission, will receive EPERM.
RETURN VALUEidle() never returns for process 0, and always returns -1 for a user process.
- Always, for a user process.