Re: 256 apic id for amd64
From: Andi Kleen (ak_at_muc.de)
Date: 01/07/05
- Previous message: Michal Schmidt: "Re: How to understand and turn off such a oops"
- In reply to: YhLu: "RE: 256 apic id for amd64"
- Next in thread: James Cleverdon: "Re: 256 apic id for amd64"
- Maybe reply: Andi Kleen: "Re: 256 apic id for amd64"
- Reply: James Cleverdon: "Re: 256 apic id for amd64"
- Maybe reply: Mikael Pettersson: "Re: 256 apic id for amd64"
- Maybe reply: Andi Kleen: "Re: 256 apic id for amd64"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 7 Jan 2005 13:24:34 +0100 Date: Fri, 7 Jan 2005 13:24:34 +0100 To: YhLu <YhLu@tyan.com>
On Thu, Jan 06, 2005 at 06:53:11PM -0800, YhLu wrote:
> static unsigned int phys_pkg_id(int index_msb)
> {
> return hard_smp_processor_id() >> index_msb;
> }
>
> In arch/x86_64/kernel/genapic_cluster.c
>
> Should be changed to
>
> static unsigned int phys_pkg_id(int index_msb)
> {
> /* physical apicid, so we need to substract offset */
> return (hard_smp_processor_id() - boot_cpu_id) >> index_msb;
> }
Why?
If you want a patch merged you need to supply some more explanation
please.
Also cc Suresh & James for comment.
-Andi
-
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/
- Previous message: Michal Schmidt: "Re: How to understand and turn off such a oops"
- In reply to: YhLu: "RE: 256 apic id for amd64"
- Next in thread: James Cleverdon: "Re: 256 apic id for amd64"
- Maybe reply: Andi Kleen: "Re: 256 apic id for amd64"
- Reply: James Cleverdon: "Re: 256 apic id for amd64"
- Maybe reply: Mikael Pettersson: "Re: 256 apic id for amd64"
- Maybe reply: Andi Kleen: "Re: 256 apic id for amd64"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|