|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Xen: Force non-irq keyhandler to be run in tasklet when receive a debugkey from serial port
On 10/24/2016 10:28 PM, Jan Beulich wrote: On 24.10.16 at 16:01, <tianyu.lan@xxxxxxxxx> wrote:On 10/24/2016 6:53 PM, Jan Beulich wrote:On 22.10.16 at 13:23, <tianyu.lan@xxxxxxxxx> wrote: I supposed the special case you meant is to run keyhandler in timer handler. It's necessary to make any timer handler run in a short time otherwise it will trigger watchdog problem. Plus your other patch fixed the respective issue only for one individual handler, instead of generally. So you think adding process_pending_softirqs() in the keyhandler isn't general? But this is a common solution so far. I think (and I vaguely recall possibly having said so during earlier review) that dump functions the output of which depends on CPU count should get modeled after dump_registers(), and it might be worth abstracting this in keyhandler.c.Yes, but this sounds like a new feature or framework rework rather than a fix patch.In a way, sure. It's a more extensive fix, which would avoid someone else running into the same issue with another handler. This seems a big change and a lot of dump function needs to rework, right? In any case quite likely the other patch of yours (which the one here basically modifies) may then also want to be reverted.I think patch "timer: process softirq during dumping timer" does right thing. The issue is triggered by previous patch.Well - the issue did not exist prior to both of your patches going in, and I think it would have continued to exist if the keyhandler rework patch alone had been reverted. (And I'm afraid anyway that "previous" is ambiguous here, as the timer handler change went in first.) Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |