Thread (41 messages) 41 messages, 4 authors, 2021-02-08

Re: [PATCH 1/7] mm: memcontrol: fix cpuhotplug statistics flushing

flat view

From: Johannes Weiner <hannes@cmpxchg.org>
Date: 2021-02-05 17:55:02
Also in: cgroups, lkml

On Thu, Feb 04, 2021 at 11:34:46AM -0800, Roman Gushchin wrote:
On Thu, Feb 04, 2021 at 02:29:57PM -0500, Johannes Weiner wrote:
quoted
It even passes with a reduced margin in the patched kernel, since the
percpu drift - which this test already tried to account for - is now
only on the page_counter side (whereas memory.stat is always precise).

I'm going to include that data in the v2 changelog, as well as a patch
to update test_kmem.c to the more stringent error tolerances.
Hm, I'm not sure it's a good idea to  unconditionally lower the error tolerance:
it's convenient to be able to run the same test on older kernels.
Well, an older version of the kernel will have an older version of the
test that is tailored towards that kernel's specific behavior. That's
sort of the point of tracking code and tests in the same git tree: to
have meaningful, effective and precise tests of an ever-changing
implementation. Trying to be backward compatible will lower the test
signal and miss regressions, when a backward compatible version is at
most one git checkout away.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help