RE: [BUGFIX PATCH][RESEND] kexec & iosapic: kexec oops when iosapicwas removed

From: Luck, Tony
Date: Sun Aug 12 2012 - 22:54:50 EST


> vec = irq_to_vector(irq);
> list_for_each_entry(rte, &info->rtes,
> rte_list) {
> + if (rte->refcnt == NO_REF_RTE)
> + continue;
> +
> iosapic_write(rte->iosapic,
> IOSAPIC_RTE_LOW(rte->rte_index),
> IOSAPIC_MASK|vec);

This will work - but is it papering over a problem when you removed the
iosapic? Should we really have removed this "rte" from rte_list when the
iosapic was removed?

-Tony

.




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