Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1277558
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 10/13] mm: memcontrol: do not account memory+swap on unified hierarchy |
| Date | 2015-11-25 17:30 +0100 |
| Message-ID | <qyL7b-gt-13@gated-at.bofh.it> (permalink) |
| References | <qytMZ-5hB-3@gated-at.bofh.it> <qytMZ-5hB-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Johannes Weiner <hannes@cmpxchg.org>
Date: Tue, 24 Nov 2015 16:52:02 -0500
> The unified hierarchy memory controller doesn't expose the memory+swap
> counter to userspace, but its accounting is hardcoded in all charge
> paths right now, including the per-cpu charge cache ("the stock").
>
> To avoid adding yet more pointless memory+swap accounting with the
> socket memory support in unified hierarchy, disable the counter
> altogether when in unified hierarchy mode.
>
> Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
> Acked-by: Michal Hocko <mhocko@suse.com>
> Reviewed-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: David S. Miller <davem@davemloft.net>
--
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 | Next — Previous in thread | Find similar | Unroll thread
[PATCH 10/13] mm: memcontrol: do not account memory+swap on unified hierarchy Johannes Weiner <hannes@cmpxchg.org> - 2015-11-24 23:00 +0100 Re: [PATCH 10/13] mm: memcontrol: do not account memory+swap on unified hierarchy David Miller <davem@davemloft.net> - 2015-11-25 17:30 +0100
csiph-web