Re: [PATCH] x86/nmi: Enable nested do_nmi() handling for 64-bit kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2018/4/12 下午1:22, Oliver Yang wrote:
On 2018/4/12 下午12:58, chenggang.qin@xxxxxxxxxxxxxxxxx wrote:
From: Andy Lutomirski <luto@xxxxxxxxxx>

commit: 9d05041679904b12c12421cbcf9cb5f4860a8d7b upstream

32-bit kernels handle nested NMIs in C.  Enable the exact same
handling on 64-bit kernels as well.  This isn't currently
necessary, but it will become necessary once the asm code starts
allowing limited nesting.

好奇为什么移植这个 patch?

Linux Nested NMI 的设计很丑陋,过去主要是为了 trace 和 debug 不得已而为之,我们踩中啥坑了?
执行perf,触发了NMI Nesting:
https://aone.alibaba-inc.com/issue/14185470



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]