On Thu, Jan 16, 2003 at 01:08:55PM -0800, Kamble, Nitin A wrote:
> + spin_lock(&desc->lock);
> + irq_balance_mask[selected_irq] = target_cpu_mask;
> + spin_unlock(&desc->lock);
Wrong.
irq_balance_mask[selected_irq] = cpu_to_logical_apicid(min_loaded);
... except this needs auditing for the assumption that the RTE's are
using logical DESTMOD.
Guess whose box won't boot with your code in?
-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:19 EST