Re: [PATCH]x86-x86_64 flush cache for CPU hotplug

From: Ashok Raj
Date: Fri Jun 10 2005 - 11:36:52 EST


On Fri, Jun 10, 2005 at 11:30:08AM +0800, Shaohua Li wrote:
> Hi,
> We should flush cache at CPU hotplug. An error has been observed data is
> corrupted after CPU hotplug in CPUs with bigger cache.
> I guess IA64 requires similar change, Ashok?

Yes, we need that for IA64 as well. i did put that in my notes tbd, but
didnt turn around doing it yet.

Think we also need to define the same for asm-ia64/acpi.h FLUSH_CPU_CACHE
i will try updating both in next.

If you have a targetted test that causes the corruption that would be great
so we can add to our stress test senarios.

Cheers,
ashok
>
> Thanks,
> Shaohua
>
> Signed-off-by: Shaohua.li<shaohua.li@xxxxxxxxx>
> ---
>
> linux-2.6.12-rc6-mm1-root/arch/i386/kernel/process.c | 1 +
> linux-2.6.12-rc6-mm1-root/arch/x86_64/kernel/process.c | 1 +
> 2 files changed, 2 insertions(+)
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/