RE: [PATCH] x86_64 irq: reset more to default when clearirq_vector for destroy_irq

From: Lu, Yinghai
Date: Wed Oct 25 2006 - 14:28:02 EST


Thanks.

I only found ht_irq and msi call destroy_irq. How about io_apic?

YH

-----Original Message-----
From: Muli Ben-Yehuda [mailto:muli@xxxxxxxxxx]
Sent: Wednesday, October 25, 2006 4:30 AM
To: Lu, Yinghai
Cc: Andi Kleen; Eric W. Biederman; Andrew Morton; Linux Kernel Mailing
List
Subject: Re: [PATCH] x86_64 irq: reset more to default when clear
irq_vector for destroy_irq

On Tue, Oct 24, 2006 at 08:46:31PM -0700, Yinghai Lu wrote:
> resend with gmail.
>
> Clear the irq releated entries in irq_vector, irq_domain and
vector_irq
> instead of clearing irq_vector only. So when new irq is created, it
> could reuse that vector. (actually is the second loop scanning from
> FIRST_DEVICE_VECTOR+8). This could avoid the vectors are used up
> with enough module inserting and removing
>
> Cc: Eric W. Biedierman <ebiederm@xxxxxxxxxxxx>
> Signed-off-By: Yinghai Lu <yinghai.lu@xxxxxxx>

I hope I'm testing the right patch... this one boots and works fine.

Cheers,
Muli




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