diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-05-24 16:08:20 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-02 22:22:19 +1000 |
commit | 177255afb40548fdf504384b361d18d6cbe35d1e (patch) | |
tree | ab5cb870847432c97bbeec5e16e22ee59204cbb4 /arch/powerpc/sysdev/cpm_common.c | |
parent | f74b2a6c01a0b319070ccee7dea0cc4dad694041 (diff) |
powerpc: Add mm_cpumask warning when context switching
When context switching away from an mm, add a CONFIG_DEBUG_VM warning
check to ensure this CPU is still set in the mask. This could catch
bugs where the mask is improperly trimmed while the CPU is still using
the mm.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230524060821.148015-4-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/sysdev/cpm_common.c')
0 files changed, 0 insertions, 0 deletions