diff options
| author | Thomas Bogendoerfer <[email protected]> | 2025-11-28 16:53:46 +0000 |
|---|---|---|
| committer | Thomas Bogendoerfer <[email protected]> | 2025-11-29 12:36:05 +0000 |
| commit | 841ecc979b18d3227fad5e2d6a1e6f92688776b5 (patch) | |
| tree | a9e37859e45da68bdad9a19eaea3b3c25b78563e /security/selinux/include/class_to_string.h | |
| parent | Linux 6.18-rc7 (diff) | |
| download | kernel-841ecc979b18d3227fad5e2d6a1e6f92688776b5.tar.gz kernel-841ecc979b18d3227fad5e2d6a1e6f92688776b5.zip | |
MIPS: mm: kmalloc tlb_vpn array to avoid stack overflow
Owing to Config4.MMUSizeExt and VTLB/FTLB MMU features later MIPSr2+
cores can have more than 64 TLB entries. Therefore allocate an array
for uniquification instead of placing too an small array on the stack.
Fixes: 35ad7e181541 ("MIPS: mm: tlb-r4k: Uniquify TLB entries on init")
Co-developed-by: Maciej W. Rozycki <[email protected]>
Signed-off-by: Maciej W. Rozycki <[email protected]>
Cc: [email protected] # v6.17+: 9f048fa48740: MIPS: mm: Prevent a TLB shutdown on initial uniquification
Cc: [email protected] # v6.17+
Tested-by: Gregory CLEMENT <[email protected]>
Tested-by: Klara Modin <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'security/selinux/include/class_to_string.h')
0 files changed, 0 insertions, 0 deletions
