All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: 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:01:08 +0100	[thread overview]
Message-ID: <200212042001.08259.tglx@linutronix.de> (raw)
In-Reply-To: <14294.1039027619@passion.cambridge.redhat.com>

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. 

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

  reply	other threads:[~2002-12-04 18:33 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 [this message]
2002-12-04 19:04     ` Charles Manning
2002-12-04 19:10       ` Thomas Gleixner
  -- 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=200212042001.08259.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 \
    /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.