Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <liam.r.girdwood@linux.intel.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lgirdwood@gmail.com>,
	Ryo Tsutsui <Ryo.Tsutsui@wolfsonmicro.com>
Subject: Re: [PATCH] ASoC: dapm: Only clear paths we've walked
Date: Mon, 01 Apr 2013 17:54:59 +0100	[thread overview]
Message-ID: <1364835299.2416.11.camel@loki> (raw)
In-Reply-To: <1364817085-8202-1-git-send-email-broonie@opensource.wolfsonmicro.com>

On Mon, 2013-04-01 at 12:51 +0100, Mark Brown wrote:
> From: Ryo Tsutsui <Ryo.Tsutsui@wolfsonmicro.com>
> 
> When clearing the walked flags there is no need to clear all paths, we
> only need to clear the paths we actually walked. This means we can split
> dapm_clear_walk() into input and output versions and rather than going
> through all DAPM paths we can recurse down the path until we encounter
> paths we have not yet walked.
> 
> This reduces the number of operations we need to perform and improves
> cache locality.
> 
> [Pulled out of the vendor tree that the patch was originally generated
> for by me, any bugs were introduced in that process -- broonie]
> 
> Signed-off-by: Ryo Tsutsui <Ryo.Tsutsui@wolfsonmicro.com>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>

      reply	other threads:[~2013-04-01 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-01 11:51 [PATCH] ASoC: dapm: Only clear paths we've walked Mark Brown
2013-04-01 16:54 ` Liam Girdwood [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=1364835299.2416.11.camel@loki \
    --to=liam.r.girdwood@linux.intel.com \
    --cc=Ryo.Tsutsui@wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=lgirdwood@gmail.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