diff options
| author | Thomas Bogendoerfer <[email protected]> | 2025-11-20 12:10:29 +0000 |
|---|---|---|
| committer | Thomas Bogendoerfer <[email protected]> | 2025-11-21 12:24:05 +0000 |
| commit | 14b46ba92bf547508b4a49370c99aba76cb53b53 (patch) | |
| tree | b4bb6979f2f0e94089f4f85b035f14b6fd1ada94 /lib/mpi/mpi-mod.c | |
| parent | MIPS: mm: Prevent a TLB shutdown on initial uniquification (diff) | |
| download | kernel-14b46ba92bf547508b4a49370c99aba76cb53b53.tar.gz kernel-14b46ba92bf547508b4a49370c99aba76cb53b53.zip | |
MIPS: kernel: Fix random segmentation faults
Commit 69896119dc9d ("MIPS: vdso: Switch to generic storage
implementation") switches to a generic vdso storage, which increases
the number of data pages from 1 to 4. But there is only one page
reserved, which causes segementation faults depending where the VDSO
area is randomized to. To fix this use the same size of reservation
and allocation of the VDSO data pages.
Fixes: 69896119dc9d ("MIPS: vdso: Switch to generic storage implementation")
Reviewed-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Huacai Chen <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
