aboutsummaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorRyo Tsutsui <Ryo.Tsutsui@wolfsonmicro.com>2013-04-01 07:50:01 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-01 17:10:20 -0400
commit1059ecfa0f1eb38eba592b2f939499504013b6d5 (patch)
tree652d70f9557c6d60aecccaedc132d2c7b318f166 /mm/rmap.c
parent0e669246dcd11ad3ecb33a6170a963c4badaa10b (diff)
ASoC: dapm: Only clear paths we've walked
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> Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions