public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>,
	       GCC Patches <gcc-patches@gcc.gnu.org>
Cc: Vladimir Makarov <vmakarov@redhat.com>
Subject: Re: [PATCH] Support disabling of sched autoprefetcher from command line
Date: Mon, 13 Apr 2015 12:39:00 -0000	[thread overview]
Message-ID: <552BB90C.2040205@redhat.com> (raw)
In-Reply-To: <83557C87-8594-4191-B760-1CC7D06C14D2@linaro.org>

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.kuvyrkov@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	other threads:[~2015-04-13 12:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-01  7:56 Maxim Kuvyrkov
2015-04-13 12:39 ` Jeff Law [this message]

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=552BB90C.2040205@redhat.com \
    --to=law@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=maxim.kuvyrkov@linaro.org \
    --cc=vmakarov@redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).