From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Keith Mannthey <kmannth@us.ibm.com>, lkml <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@digeo.com>, James Cleverdon <cleverdj@us.ibm.com>
Subject: Re: [RFC][PATCH] fix for clusterd io_apics
Date: Tue, 06 May 2003 08:15:02 -0700 [thread overview]
Message-ID: <13960000.1052234101@[10.10.2.4]> (raw)
In-Reply-To: <1052179450.16886.224.camel@dyn9-47-17-180.beaverton.ibm.com>
> The following is a patch to fix inconsistent use of the function
> set_ioapic_affinity. In the current kernel it is unclear as to weather
> the value being passed to the function is a cpu mask or valid apic id.
> In irq_affinity_write_proc the kernel passes on a cpu mask but the kirqd
> thread passes on logical apic ids. In flat apic mode this is not an
> issue because a cpu mask represents the apic value. However in
> clustered apic mode the cpu mask is very different from the logical apic
> id.
> This is an attempt to do the right thing for clustered apics. I
> clarify that the value being passed to set_ioapic_affinity is a cpu mask
> not a apicid. Set_ioapic_affinity will do the conversion to logical
> apic ids. Since many cpu masks don't map to valid apicids in clustered
> apic mode TARGET_CPUS is used as a default value when such a situation
> occurs. I think this is a good step in making irq_affinity clustered
> apic safe.
Thanks Keith, looks great. The existing code in the main kernel is just
broken (and confusing as hell with it's mixed use of "mask").
M.
next prev parent reply other threads:[~2003-05-06 15:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-30 23:07 [RFC] clustered apic irq affinity fix for i386 Keith Mannthey
2003-04-30 23:36 ` Andrew Morton
2003-05-01 1:05 ` Keith Mannthey
2003-05-01 2:22 ` Andrew Morton
2003-05-01 2:49 ` William Lee Irwin III
2003-05-01 4:07 ` Martin J. Bligh
2003-05-01 17:51 ` Keith Mannthey
2003-05-06 0:04 ` [RFC][PATCH] fix for clusterd io_apics Keith Mannthey
2003-05-06 15:15 ` Martin J. Bligh [this message]
2003-05-01 9:10 ` [RFC] clustered apic irq affinity fix for i386 Arjan van de Ven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='13960000.1052234101@[10.10.2.4]' \
--to=mbligh@aracnet.com \
--cc=akpm@digeo.com \
--cc=cleverdj@us.ibm.com \
--cc=kmannth@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®