Re: [PATCH 07/41] cpuset: Set up interface for nohz flag
From: Christoph Lameter
Date: Mon May 07 2012 - 11:55:10 EST
On Tue, 1 May 2012, Frederic Weisbecker wrote:
> Prepare the interface to implement the nohz cpuset flag.
> This flag, once set, will tell the system to try to
> shutdown the periodic timer tick when possible.
>
> We use here a per cpu refcounter. As long as a CPU
> is contained into at least one cpuset that has the
> nohz flag set, it is part of the set of CPUs that
> run into adaptive nohz mode.
As I have said before: It would be much simpler if one could specify the
set of nohz cpus independently of cpusets. Having a flag f.e. as a file in
/sys/devices/system/cpu/cpuX/nohz
?
--
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/