[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <00000140c6659902-f76c4733-ff61-47d9-b0d2-69fd04253aa3-000000@email.amazonses.com>
Date: Wed, 28 Aug 2013 19:28:02 +0000
From: Christoph Lameter <cl@...ux.com>
To: Gilad Ben-Yossef <gilad@...yossef.com>
cc: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Frederic Weisbecker <fweisbec@...il.com>
Subject: Re: [PATCH v2 1/2] mm: make vmstat_update periodic run conditional
On Fri, 9 Aug 2013, Gilad Ben-Yossef wrote:
> If the code does not consider setting the vmstat_cpus bit in the mask
> unless we are running
> on a CPU in tickless state, than we will (almost) never set
> vmstat_cpus since we will (almost)
> never be tickless in a deferrable work -
Sorry never got around to answering this one. Not sure what to do about
it.
How about this: Disable the vmstats when there is no diff to handle
instead? This means that the OS was quiet during the earlier period. That
way you have an independent criteria for switching vmstat work off from
tickless. Would even work when there are multiple processes running on the
processor if none of them causes counter updates.
In the meantime there are additional patches for the vmstat function
pending for merge from me (not related to the conditional running of
vmstat but may make it easier to implement). So if you want to do any work
then please on top of the newer release available from Andrew's tree.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists