/* Remap normal tasks to their real PID, CPU shadow threads are mapped to -CPU - 2  */
static int shadow_pid(int realpid)
/* Remap normal tasks to their real PID, CPU shadow threads are mapped to -CPU - 2  */
static int shadow_pid(int realpid)
{
	if (realpid)
		return realpid;
	return -raw_smp_processor_id() - 2;
}