diff options
author | Sumanth Korikkar <sumanthk@linux.ibm.com> | 2025-08-04 11:57:03 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-08-05 14:23:20 +0200 |
commit | daa8af80d283ee9a7d42dd6f164a65036665b9d4 (patch) | |
tree | 965eb84d623fb4e9266cded984b41192e4bc7d35 /rust/kernel/task.rs | |
parent | 10dd5a0009898ba35eafeb6087e5c83b84742ff1 (diff) |
s390/mm: Allocate page table with PAGE_SIZE granularity
Make vmem_pte_alloc() consistent by always allocating page table of
PAGE_SIZE granularity, regardless of whether page_table_alloc() (with
slab) or memblock_alloc() is used. This ensures page table can be fully
freed when the corresponding page table entries are removed.
Fixes: d08d4e7cd6bf ("s390/mm: use full 4KB page for 2KB PTE")
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions