public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Alice Hennessy <ahennessy@mvista.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: ahennessy@mvista.com, mtd@infradead.org
Subject: mtdchar.c and vmalloc
Date: Thu, 04 Jan 2001 11:31:18 -0800	[thread overview]
Message-ID: <3A54CF86.7F7B46B7@mvista.com> (raw)
In-Reply-To: 10818.978631074@redhat.com

Hello,

During  stress testing,  I ran into a data corruption problem that  went away
after I changed vmalloc to
kmalloc  in mtd_read and mtd_write functions (mtdchar.c).   I added a loop to
the code so that malloc size
doesn't exceed the kmalloc maximum of 128k bytes.
Seems to work fine now.

Does this make sense? Anyone else see this problem?   Any opinions if this is
an ok solution until
kiovec or something else is implemented?

Alice



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

  reply	other threads:[~2001-01-04 19:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-04 17:48 howto Livio Plos
2001-01-04 17:57 ` howto David Woodhouse
2001-01-04 19:31   ` Alice Hennessy [this message]
2001-01-05 10:31     ` mtdchar.c and vmalloc David Woodhouse

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=3A54CF86.7F7B46B7@mvista.com \
    --to=ahennessy@mvista.com \
    --cc=dwmw2@infradead.org \
    --cc=mtd@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox