[PATCH 1/1] Add config option for batched hcalls
Olof Johansson
olof at lixom.net
Sun Sep 26 13:49:03 EST 2010
On Fri, Sep 24, 2010 at 04:44:15PM -0500, Will Schmidt wrote:
>
> Add a config option for the (batched) MULTITCE and BULK_REMOVE h-calls.
>
> By default, these options are on and are beneficial for performance and
> throughput reasons. If disabled, the code will fall back to using less
> optimal TCE and REMOVE hcalls. The ability to easily disable these
> options is useful for some of the PREEMPT_RT related investigation and
> work occurring on Power.
Hi,
I can see why it's useful to enable and disable, but these are all
runtime-checked, wouldn't it be more useful to add a bootarg to handle
it instead of adding some new config options that pretty much everyone
will always go with the defaults on?
The bits are set early, but from looking at where they're used, there
doesn't seem to be any harm in disabling them later on when a bootarg
is convenient to parse and deal with?
It has the benefit of easier on/off testing, if that has any value for
production debug down the road.
-Olof
More information about the Linuxppc-dev
mailing list