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


Groups > linux.kernel > #1277670

Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value
Date 2015-11-25 19:10 +0100
Message-ID <qyMFY-1lB-15@gated-at.bofh.it> (permalink)
References <qyfh0-4q8-7@gated-at.bofh.it> <qynRj-1yb-103@gated-at.bofh.it> <qyytk-8pA-13@gated-at.bofh.it> <qyKNS-9k-71@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 25-11-15 10:04:44, Christoph Lameter wrote:
> On Wed, 25 Nov 2015, Joonsoo Kim wrote:
> 
> > I think that maintaining duplicate counter to guarantee accuracy isn't
> > reasonable solution. It would cause more overhead to the system.
> 
> Simply remove the counter from the vmstat handling and do it differently
> then.

We definitely do not want yet another set of counters. vmstat counters
are not only to be exported into the userspace. We have in kernel users
as well. I do agree that there are users who can cope with some level of
imprecision though and those which depend on the accuracy can use
zone_page_state_snapshot which doesn't impose any overhead on others.
[...]
-- 
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH] mm/vmstat: retrieve more accurate vmstat value Joonsoo Kim <js1304@gmail.com> - 2015-11-24 07:30 +0100
  Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Christoph Lameter <cl@linux.com> - 2015-11-24 16:40 +0100
    Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-11-25 04:00 +0100
      Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Christoph Lameter <cl@linux.com> - 2015-11-25 17:10 +0100
        Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Michal Hocko <mhocko@kernel.org> - 2015-11-25 19:10 +0100
          Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Christoph Lameter <cl@linux.com> - 2015-11-25 19:30 +0100
        Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-11-26 03:00 +0100
  Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Michal Hocko <mhocko@kernel.org> - 2015-11-25 13:10 +0100
    Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Vlastimil Babka <vbabka@suse.cz> - 2015-11-25 14:50 +0100
      Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Michal Hocko <mhocko@kernel.org> - 2015-11-25 14:50 +0100
    Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-11-26 03:00 +0100
      Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value vinayak menon <vinayakm.list@gmail.com> - 2015-11-26 06:10 +0100
      Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Michal Hocko <mhocko@kernel.org> - 2015-11-26 16:10 +0100

csiph-web