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


Groups > linux.kernel > #1277680

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

From Christoph Lameter <cl@linux.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value
Date 2015-11-25 19:30 +0100
Message-ID <qyMZk-1sg-17@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> <qyMFY-1lB-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 25 Nov 2015, Michal Hocko wrote:

> > 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.
> [...]

Ok then the proper patch would be to use zone_page_state() instead of
zone_page_state() here instead of modifying zone_page_state().

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