Repository navigation
Commit ae8af43
mm/memcontrol: update lruvec counters in mem_cgroup_move_account
Mapped, dirty and writeback pages are also counted in per-lruvec stats.
These counters needs update when page is moved between cgroups.
Currently is nobody *consuming* the lruvec versions of these counters and
that there is no user-visible effect.
Link: http://lkml.kernel.org/r/157112699975.7360.1062614888388489788.stgit@buzz
Fixes: 00f3ca2 ("mm: memcontrol: per-lruvec stats infrastructure")
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent b918c43 commit ae8af43
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5420 | 5420 | | |
5421 | 5421 | | |
5422 | 5422 | | |
| 5423 | + | |
| 5424 | + | |
5423 | 5425 | | |
5424 | 5426 | | |
5425 | 5427 | | |
| |||
5443 | 5445 | | |
5444 | 5446 | | |
5445 | 5447 | | |
| 5448 | + | |
| 5449 | + | |
| 5450 | + | |
| 5451 | + | |
5446 | 5452 | | |
5447 | 5453 | | |
5448 | 5454 | | |
5449 | | - | |
5450 | | - | |
| 5455 | + | |
| 5456 | + | |
5451 | 5457 | | |
5452 | 5458 | | |
5453 | 5459 | | |
| |||
5459 | 5465 | | |
5460 | 5466 | | |
5461 | 5467 | | |
5462 | | - | |
5463 | | - | |
| 5468 | + | |
| 5469 | + | |
5464 | 5470 | | |
5465 | 5471 | | |
5466 | 5472 | | |
5467 | 5473 | | |
5468 | | - | |
5469 | | - | |
| 5474 | + | |
| 5475 | + | |
5470 | 5476 | | |
5471 | 5477 | | |
5472 | 5478 | | |
| |||
0 commit comments