Re: PPC KGDB changes and some help?
From: Hollis Blanchard (hollisb_at_us.ibm.com)
Date: 01/22/04
- Previous message: Linus Torvalds: "Re: 2.6.1-mm5 versus gcc 3.5 snapshot"
- In reply to: Tom Rini: "Re: PPC KGDB changes and some help?"
- Next in thread: Tom Rini: "Re: PPC KGDB changes and some help?"
- Reply: Tom Rini: "Re: PPC KGDB changes and some help?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 22 Jan 2004 09:25:19 -0600 To: Tom Rini <trini@kernel.crashing.org>
On Jan 22, 2004, at 9:07 AM, Tom Rini wrote:
>
> On Wed, Jan 21, 2004 at 03:12:25PM -0800, George Anzinger wrote:
>
>> A question I have been meaning to ask: Why is the arch/common
>> connection
>> via a structure of addresses instead of just calls? I seems to me
>> that
>> just calling is a far cleaner way to do things here. All the struct
>> seems
>> to offer is a way to change the backend on the fly. I don't thing we
>> ever
>> want to do that. Am I missing something?
>
> I imagine it's a style thing. I don't have a preference either way.
I think we in PPC land have gotten used to that "style" because we have
one kernel that supports different "platforms", i.e. it selects the
appropriate code at runtime as George says. In general that's a little
bit slower and a little bit bigger.
Unless you need to choose among PPC KGDB functions at runtime, which I
don't think you do, you don't need it...
-- Hollis Blanchard IBM Linux Technology Center - 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: Linus Torvalds: "Re: 2.6.1-mm5 versus gcc 3.5 snapshot"
- In reply to: Tom Rini: "Re: PPC KGDB changes and some help?"
- Next in thread: Tom Rini: "Re: PPC KGDB changes and some help?"
- Reply: Tom Rini: "Re: PPC KGDB changes and some help?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|