Commit 002ea84
mm/memcg: fix 5.10 backport of splitting page memcg
The straight backport of 5.12's e1baddf ("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>1 parent 2c16352 commit 002ea84
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3274 | 3274 | | |
3275 | 3275 | | |
3276 | 3276 | | |
| 3277 | + | |
3277 | 3278 | | |
3278 | 3279 | | |
3279 | 3280 | | |
3280 | 3281 | | |
3281 | 3282 | | |
3282 | | - | |
| 3283 | + | |
3283 | 3284 | | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
3284 | 3288 | | |
3285 | 3289 | | |
3286 | 3290 | | |
| |||
0 commit comments