On 02/01/2015 12:55 AM, Maxim Kuvyrkov wrote:
Hi,

It turned out that the values for PARAM_SCHED_AUTOPREF_QUEUE_DEPTH
that I initially selected were unfortunate.  The value of "-1" is
special in parameter handling code, and it can't be used on command
line.  This makes it impossible to disable scheduler autoprefetcher
from command line ("-1" corresponds to "disable autoprefetcher
model").

This patch shifts the set of a allowed values for
PARAM_SCHED_AUTOPREF_QUEUE_DEPTH by +1, so that the "disable" value
is "0".

OK for stage 1?  Tested on arm-linux-gnueabihf, and I will bootstrap
and test the patch on trunk before committing.

Thank you,

-- Maxim Kuvyrkov www.linaro.org



0002-Support-disabling-of-sched-autoprefetcher-from-comma.patch


From b86515013dec067419d16d11c138ba8b74ede1c5 Mon Sep 17 00:00:00
2001 From: Maxim Kuvyrkov<maxim.kuvyr...@linaro.org> Date: Sun, 18
Jan 2015 13:22:56 +0000 Subject: [PATCH 2/2] Support disabling of
sched autoprefetcher from command line

* config/arm/arm.c (arm_cortex_a15_tune, arm_cortex_a57_tune):
Update. * haifa-sched.c: Increase values for
PARAM_SCHED_AUTOPREF_QUEUE_DEPTH by +1 throughout.
(rank_for_schedule, autopref_multipass_dfa_lookahead_guard): Update.
* params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): Update.
OK once the final bootstrap and testing are complete.
Jeff

Reply via email to