From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Ishizaki Kou <kou.ishizaki@toshiba.co.jp>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [PATCH 2/11] cell: generalize io-workarounds code
Date: Mon, 24 Mar 2008 21:41:49 +1100 [thread overview]
Message-ID: <1206355309.7197.32.camel@pasglop> (raw)
In-Reply-To: <20080314.212034.-1625856941.kouish@swc.toshiba.co.jp>
On Fri, 2008-03-14 at 21:20 +0900, Ishizaki Kou wrote:
> This patch splits cell io-workaround code into spider-pci dependent
> code and a generic part, and also adds interfaces to the generic
> io-workaround mechanism.
>
> Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
> ---
Hi !
I noticed that you add a second level of indirection. We already have
one going to the workarounds in the first place, so that looks a bit too
much to my taste.
I may have missed something in your patch but if the workarounds are
specific to a given bridge, they may as well set the top level
indirections once straight to the right workarounds.
Also, my understanding is that we are pretty much using the same bridge
on the cell blades, so is there any way that can be consolidated rather
than having function pointers ?
I'll try to have a closer look next week, but I'm a bit worried by
having all IO go through 2 level of function pointers, the PPE isn't
very good at it and this will slow things down more than they already
are.
Cheers,
Ben.
next prev parent reply other threads:[~2008-03-24 10:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 12:20 [PATCH 2/11] cell: generalize io-workarounds code Ishizaki Kou
2008-03-24 10:41 ` Benjamin Herrenschmidt [this message]
2008-03-24 10:44 ` Benjamin Herrenschmidt
2008-03-27 11:02 ` Ishizaki Kou
2008-03-27 21:08 ` Benjamin Herrenschmidt
2008-04-02 10:52 ` Ishizaki Kou
2008-04-02 11:00 ` Benjamin Herrenschmidt
2008-04-04 6:42 ` Ishizaki Kou
2008-04-04 7:50 ` Benjamin Herrenschmidt
2008-04-09 7:46 ` Ishizaki Kou
2008-04-16 7:18 ` Benjamin Herrenschmidt
2008-04-17 1:48 ` Benjamin Herrenschmidt
2008-04-24 3:07 ` Ishizaki Kou
2008-04-24 3:30 ` Benjamin Herrenschmidt
2008-04-24 3:10 ` Ishizaki Kou
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=1206355309.7197.32.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=kou.ishizaki@toshiba.co.jp \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).