diff options
| author | Alexander Gordeev <[email protected]> | 2025-01-23 16:03:49 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-01-26 04:42:30 +0000 |
| commit | 502269ab98b5b31428be23aa3871d297d916a90b (patch) | |
| tree | f25d03a5dc23a935720c40c90b16af04f5b67231 /net/core/page_pool.c | |
| parent | kasan: sw_tags: use str_on_off() helper in kasan_init_sw_tags() (diff) | |
| download | kernel-502269ab98b5b31428be23aa3871d297d916a90b.tar.gz kernel-502269ab98b5b31428be23aa3871d297d916a90b.zip | |
s390/mm: add missing ctor/dtor on page table upgrade
Commit 78966b550289 ("s390: pgtable: add statistics for PUD and P4D level
page table") misses the call to pagetable_p4d_ctor() against a newly
allocated P4D table in crst_table_upgrade();
Commit 68c601de75d8 ("mm: introduce ctor/dtor at PGD level") misses the
call to pagetable_pgd_ctor() against a newly allocated PGD and the call to
pagetable_dtor() against a newly allocated P4D that is about to be freed
on crst_table_upgrade() PGD upgrade fail path.
The missed constructors and destructor break (at least) the page table
accounting when a process memory space is upgraded.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 78966b550289 ("s390: pgtable: add statistics for PUD and P4D level page table")
Fixes: 68c601de75d8 ("mm: introduce ctor/dtor at PGD level")
Signed-off-by: Alexander Gordeev <[email protected]>
Reported-by: Heiko Carstens <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Suggested-by: Heiko Carstens <[email protected]>
Reviewed-by: Gerald Schaefer <[email protected]>
Acked-by: Qi Zheng <[email protected]>
Reviewed-by: Kevin Brodsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'net/core/page_pool.c')
0 files changed, 0 insertions, 0 deletions
