DMA Engine development
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: dmaengine@vger.kernel.org, dan.j.williams@intel.com,
	grygorii.strashko@ti.com, vladimir.murzin@arm.com
Subject: Re: [PATCH] dmaengine: dmatest: stop completed threads when running without set channel
Date: Mon, 6 Jul 2020 10:43:09 +0530	[thread overview]
Message-ID: <20200706051309.GF633187@vkoul-mobl> (raw)
In-Reply-To: <20200701101225.8607-1-peter.ujfalusi@ti.com>

On 01-07-20, 13:12, Peter Ujfalusi wrote:
> The completed threads were not cleared and consequent run would result
> threads accumulating:
> 
> echo 800000 > /sys/module/dmatest/parameters/test_buf_size
> echo 2000 > /sys/module/dmatest/parameters/timeout
> echo 50 > /sys/module/dmatest/parameters/iterations
> echo 1 > /sys/module/dmatest/parameters/max_channels
> echo "" > /sys/module/dmatest/parameters/channel
> [  237.507265] dmatest: Added 1 threads using dma1chan2
> echo 1 > /sys/module/dmatest/parameters/run
> [  244.713360] dmatest: Started 1 threads using dma1chan2
> [  246.117680] dmatest: dma1chan2-copy0: summary 50 tests, 0 failures 2437.47 iops 977623 KB/s (0)
> 
> echo 1 > /sys/module/dmatest/parameters/run
> [  292.381471] dmatest: No channels configured, continue with any
> [  292.389307] dmatest: Added 1 threads using dma1chan3
> [  292.394302] dmatest: Started 1 threads using dma1chan2
> [  292.399454] dmatest: Started 1 threads using dma1chan3
> [  293.800835] dmatest: dma1chan3-copy0: summary 50 tests, 0 failures 2624.53 iops 975014 KB/s (0)
> 
> echo 1 > /sys/module/dmatest/parameters/run
> [  307.301429] dmatest: No channels configured, continue with any
> [  307.309212] dmatest: Added 1 threads using dma1chan4
> [  307.314197] dmatest: Started 1 threads using dma1chan2
> [  307.319343] dmatest: Started 1 threads using dma1chan3
> [  307.324492] dmatest: Started 1 threads using dma1chan4
> [  308.730773] dmatest: dma1chan4-copy0: summary 50 tests, 0 failures 2390.28 iops 965436 KB/s (0)

Applied, thanks

-- 
~Vinod

      parent reply	other threads:[~2020-07-06  5:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01 10:12 [PATCH] dmaengine: dmatest: stop completed threads when running without set channel Peter Ujfalusi
2020-07-02  8:41 ` Vladimir Murzin
2020-07-06  5:13 ` Vinod Koul [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=20200706051309.GF633187@vkoul-mobl \
    --to=vkoul@kernel.org \
    --cc=dan.j.williams@intel.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=grygorii.strashko@ti.com \
    --cc=peter.ujfalusi@ti.com \
    --cc=vladimir.murzin@arm.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