generic: use new set_cpus_allowed_ptr function