[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <86802c440610232115r76d98803o4293cdafce1fd95c@mail.gmail.com>
Date: Mon, 23 Oct 2006 21:15:31 -0700
From: yhlu <yhlu.kernel@...il.com>
To: "Andi Kleen" <ak@....de>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
"Andrew Morton" <akpm@...l.org>
Cc: "Muli Ben-Yehuda" <muli@...ibm.com>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
"Adrian Bunk" <bunk@...sta.de>
Subject: [PATCH] x86_64 irq: reuse vector for __assign_irq_vector
in phys flat mode, when using set_xxx_irq_affinity to irq balance from
one cpu to another, _assign_irq_vector will get to increase last used
vector and get new vector. this will use up the vector if enough
set_xxx_irq_affintiy are called. and end with using same vector in
different cpu for different irq. (that is not what we want, we only
want to use same vector in different cpu for different irq when more
than 0x240 irq needed). To keep it simple, the vector should be reused
instead of getting new vector.
Also according to Eric's review, make it more generic to be used with
flat mode too.
This patch need to be applied over Eric's irq: cpu_online_map patch.
Cc: Eric W. Biederman <ebiederm@...ssion.com>
Cc: Muli Ben-Yehuda <muli@...ibm.com>
Signed-off-by: Yinghai Lu <yinghai.lu@....com>
View attachment "io_apic_reuse_vector.diff" of type "text/x-patch" (2453 bytes)
Powered by blists - more mailing lists