Re: [PATCH] x86, MCE: Clean get_cpu_xxx with this_cpu_xxx

From: Ingo Molnar
Date: Tue Apr 15 2014 - 05:04:06 EST



* Chen, Gong <gong.chen@xxxxxxxxxxxxxxx> wrote:

> This is a cleanup patch suggested by Peter. Use new
> this_cpu_xxx to improve operation speed. Meanwhile,
> it fixes an issue introduced in commit 27f6c573e0. I
> forget to execute put_cpu_var operation after get_cpu_var.

What 'issue'? Is it a bug? If yes, what are the symptoms to the user?

Also, fixes must be separate from cleanups.

Thanks,

Ingo
--
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/