All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Adrian Hunter <adrian.hunter@nokia.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>
Subject: Re: mmc_test: fix performance tests that go over max_blk_count
Date: Sun, 12 Sep 2010 00:47:07 +0100	[thread overview]
Message-ID: <20100911234706.GA14042@void.printf.net> (raw)
In-Reply-To: <20100910203957.GA2966@void.printf.net>

Hi Adrian,

On Fri, Sep 10, 2010 at 09:39:57PM +0100, Chris Ball wrote:
> My test machine (Dell m6300, Sandisk Extreme III 4GB) no longer BUG()s,
> but it's still failing all of the transfer tests:
> 
> mmc0: Test case 22. Multi-block highmem read...
> mmc0: Result: OK
> mmc0: Test case 23. Best-case read performance...
> mmc0: Result: Prepare stage failed! (-12)

Tracked this down a little farther.  mmc_test_alloc_mem() is bailing
out here:

                if (mem->cnt >= max_segs) {
                        if (page_cnt < min_page_cnt)
                                goto out_free;
                        break;
                }

with vars mem->cnt=1, max_segs=1, page_cnt=0, min_page_cnt=16.

Thanks,

-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

      reply	other threads:[~2010-09-11 23:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10  8:33 mmc_test: fix performance tests that go over max_blk_count Adrian Hunter
2010-09-10 15:29 ` Chris Ball
2010-09-10 18:58   ` Adrian Hunter
2010-09-10 20:06     ` Chris Ball
2010-09-10 20:39 ` Chris Ball
2010-09-11 23:47   ` Chris Ball [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=20100911234706.GA14042@void.printf.net \
    --to=cjb@laptop.org \
    --cc=adrian.hunter@nokia.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mmc@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.