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

Ashok Raj
2005-06-10T16:35:41Z

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@intel.com>
> ---
>
> 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(+)
>