Last modified 4 years ago
Reasons a Process is Unmigratable
- Performing a privileged operation, anything that would need superuser access.
- Having real-time priority.
- Having a writable, memory mapped file.
- Having a character device memory mapped.
- Running code in vm86 mode (with the sys_vm86 or sys_vm86old system call).
- Having a VMA or a MM structure that is marked VM_LOCKED.
- Not having a MM structure, or having a MM structure that is in use by more than one process (threads!)
- Being either the INIT process (pid 1), or a process that was created by our om_daemonize in-kernel call.
- Performing IO directly on a port.
