Re: [PATCH Resend] Expose do_timer CPU via sysctl to userspace as R/W

From: Peter Zijlstra
Date: Wed Feb 19 2014 - 14:51:04 EST


On Wed, Feb 19, 2014 at 08:43:55PM +0100, Henrik Austad wrote:
> The online-part should be taken care of by the cpu_present(), no?

No, cpu_present() only means there is a physical CPU present. It might
be offline.

See the comment in include/linux/cpumask.h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/