commit | 002ea848d7fd3bdcb6281e75bdde28095c2cd549 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hughd@google.com> | Sun Mar 28 17:13:13 2021 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 30 14:32:07 2021 +0200 |
tree | f94a204917adc1a7b4c20a409da944fcf556cf23 | |
parent | 2c163520e12b6551e6482491b3cad3c84daa4626 [diff] |
mm/memcg: fix 5.10 backport of splitting page memcg The straight backport of 5.12's e1baddf8475b ("mm/memcg: set memcg when splitting page") works fine in 5.11, but turned out to be wrong for 5.10: because that relies on a separate flag, which must also be set for the memcg to be recognized and uncharged and cleared when freeing. Fix that. Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>