Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1313289

Re: vmstat: make vmstat_updater deferrable again and shut down on idle

From Christoph Lameter <cl@linux.com>
Newsgroups linux.kernel
Subject Re: vmstat: make vmstat_updater deferrable again and shut down on idle
Date 2016-01-20 16:20 +0100
Message-ID <qT2Ib-8li-37@gated-at.bofh.it> (permalink)
References <qEgtI-2KO-21@gated-at.bofh.it> <qT1sK-7gA-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 20 Jan 2016, Shiraz Hashim wrote:

> The patch makes vmstat_shepherd deferable which if is quiesed
> would not schedule vmstat update on other cpus. Wouldn't this
> aggravate the problem of vmstat for rest cpus not gettng updated.

Its only "deferred" in order to make it at the next tick and not cause an
extra event. This means that vmstat will run periodically from tick
processing. It merely causes a synching so that we have one interruption
that does both.

On idle we fold counters immediately. So there is no loss of accuracy.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: vmstat: make vmstat_updater deferrable again and shut down on idle Shiraz Hashim <shiraz.linux.kernel@gmail.com> - 2016-01-20 15:00 +0100
  Re: vmstat: make vmstat_updater deferrable again and shut down on  idle Christoph Lameter <cl@linux.com> - 2016-01-20 16:20 +0100
    Re: vmstat: make vmstat_updater deferrable again and shut down on idle Shiraz Hashim <shiraz.linux.kernel@gmail.com> - 2016-01-21 07:30 +0100
      Re: vmstat: make vmstat_updater deferrable again and shut down on  idle Christoph Lameter <cl@linux.com> - 2016-01-21 16:50 +0100

csiph-web