public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: manningc2@actrix.gen.nz, David Woodhouse <dwmw2@infradead.org>,
	Dave Ellis <DGE@sixnetio.com>
Cc: 'Ken Offer' <koffer@arlut.utexas.edu>,
	"'linux-mtd@lists.infradead.org'" <linux-mtd@lists.infradead.org>
Subject: Re: Problem: 51MB partition max size on jffs2
Date: Wed, 04 Dec 2002 20:10:51 +0100	[thread overview]
Message-ID: <200212042010.51999.tglx@linutronix.de> (raw)
In-Reply-To: <20021204190914.6D7CD48FD@tiger.actrix.co.nz>

On Wednesday 04 December 2002 20:04, Charles Manning wrote:
> On Thu, 05 Dec 2002 08:01, Thomas Gleixner wrote:
> > On Wednesday 04 December 2002 19:46, David Woodhouse wrote:
> > > DGE@sixnetio.com said:
> > > >  kmalloc() is limited to 128K and the 128MB Flash needs more than
> > > > twice that,
> > > >
> > > > so I tried vmalloc() and it seems to be OK (at least with PPC 2.4.18
> > > > patched for the new MTD code). Does anyone know if this change is
> > > > safe?
> > >
> > > You need to change the corresponding kfree() to vfree().
> >
> > That's right. In actual CVS-code this problem is solved by building
> > virtual blocks of 2,4 or 8 physical blocks.
>
> Does this have an impact on performance?
Not at all. It just consumes less memory. Maybe garbage collect is a little 
bit slower, but I did not notice a remarkable change.

-- 
Thomas
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de

  reply	other threads:[~2002-12-04 18:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-04 18:44 Problem: 51MB partition max size on jffs2 Dave Ellis
2002-12-04 18:46 ` David Woodhouse
2002-12-04 19:01   ` Thomas Gleixner
2002-12-04 19:04     ` Charles Manning
2002-12-04 19:10       ` Thomas Gleixner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-06 21:00 Dave Ellis
2002-12-04 20:58 Dave Ellis
2002-12-04 16:54 Ken Offer
2002-12-04 17:47 ` Thomas Gleixner
2002-12-04 22:00   ` Ken Offer
2002-12-04 22:02     ` Thomas Gleixner
2002-12-04 23:08       ` Ken Offer
2002-12-04 23:20         ` Thomas Gleixner
2002-12-05 17:53           ` Ken Offer
2002-12-04 18:41 ` 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=200212042010.51999.tglx@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=DGE@sixnetio.com \
    --cc=dwmw2@infradead.org \
    --cc=koffer@arlut.utexas.edu \
    --cc=linux-mtd@lists.infradead.org \
    --cc=manningc2@actrix.gen.nz \
    /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