Re: [PATCH 2/2] show nohz_full cpus in sysfs

From: Mike Galbraith
Date: Sat Mar 28 2015 - 00:18:35 EST


On Fri, 2015-03-27 at 17:50 -0400, riel@xxxxxxxxxx wrote:
> From: Rik van Riel <riel@xxxxxxxxxx>
>
> Currently there is no way to query which CPUs are in nohz_full
> mode from userspace.

Hm, they're both (as of your last set) invariant. Is this so an HPC app
can automatically bind itself or something? You can't have more than
one such app, or rather if you did, they'd need more than which CPUs are
HPC capable, they'd need occupancy too, so the query mechanism seems
kinda useless. Box driver has to allocate CPUs, and presumably knows
the configuration of the box (those who don't become ex box drivers).

-Mike

--
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/