diff options
| author | Wei Yang <[email protected]> | 2022-04-28 23:15:59 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-04-28 23:15:59 -0700 |
| commit | a9320aae68a1cd3f41b9846e24504b09ffc3311e (patch) | |
| tree | edde95609f76f436d12ab4e23b469789e83bb39f /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 89d8330ccf2ad4c0744e1d1b77ffe2deb1641e54 (diff) | |
mm/memcg: move generation assignment and comparison together
For each round-trip, we assign generation on first invocation and compare
it on subsequent invocations.
Let's move them together to make it more self-explaining. Also this
reduce a check on prev.
[[email protected]: better comment to explain reclaim model]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Wei Yang <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Reviewed-by: Roman Gushchin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions