I make certain CPUs to go offline using the command
echo 0 > /sys/devices/system/cpu/cpu$cpu/online
Post which my nproc, grep "processor" /proc/cpuinfo and lscpu confirms that the CPU is offline. In such a scenario:
- What happens to a process pinned to that CPU (is the expectation a kill / migration to another CPU ?)
- What happens to a process that was running in that CPU (will it get migrated to another CPU?)