Re: [Xen-devel] [PATCH V3] Xen/Keyhandler: Rework process of nonirq keyhandler

2016-10-13 Thread Wei Liu
On Thu, Oct 13, 2016 at 03:30:04AM -0600, Jan Beulich wrote: > >>> On 13.10.16 at 12:06, wrote: > > Keyhandler may run for a long time in serial port driver's > > timer handler on the large machine with a lot of physical > > cpus(e,g dump_timerq()) when serial port driver works in > > the poll mod

Re: [Xen-devel] [PATCH V3] Xen/Keyhandler: Rework process of nonirq keyhandler

2016-10-13 Thread Jan Beulich
>>> On 13.10.16 at 12:06, wrote: > Keyhandler may run for a long time in serial port driver's > timer handler on the large machine with a lot of physical > cpus(e,g dump_timerq()) when serial port driver works in > the poll mode(via the exception mechanism). > > If a timer handler runs a long tim

[Xen-devel] [PATCH V3] Xen/Keyhandler: Rework process of nonirq keyhandler

2016-10-12 Thread Lan Tianyu
Keyhandler may run for a long time in serial port driver's timer handler on the large machine with a lot of physical cpus(e,g dump_timerq()) when serial port driver works in the poll mode(via the exception mechanism). If a timer handler runs a long time, it will block nmi_timer_fn() to feed NMI w