diff options
author | Prarit Bhargava <prarit@redhat.com> | 2009-12-09 21:36:45 +0300 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-12-11 04:19:03 +0300 |
commit | ebb682f522411abbe358059a256a8672ec0bd55b (patch) | |
tree | ff8ebb34f17ec3c3d445857be9da7fd35f4579a0 /arch/arm/Kconfig-nommu | |
parent | 9cf7826743e5c78dcfcfdc99d17f79ce6d3a2942 (diff) | |
download | linux-ebb682f522411abbe358059a256a8672ec0bd55b.tar.xz |
x86, AMD: Fix stale cpuid4_info shared_map data in shared_cpu_map cpumasks
The per_cpu cpuid4_info shared_map can contain stale data when CPUs are added
and removed.
The stale data can lead to a NULL pointer derefernce panic on a remove of a
CPU that has had siblings previously removed.
This patch resolves the panic by verifying a cpu is actually online before
adding it to the shared_cpu_map, only examining cpus that are part of
the same lower level cache, and by updating other siblings lowest level cache
maps when a cpu is added.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
LKML-Reference: <20091209183336.17855.98708.sendpatchset@prarit.bos.redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/arm/Kconfig-nommu')
0 files changed, 0 insertions, 0 deletions