All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: libz, libbz2, ramfs and cramfs
Date: 17 Oct 2001 01:31:14 -0700	[thread overview]
Message-ID: <9qjfki$ob5$1@cesium.transmeta.com> (raw)
In-Reply-To: <19978.1003206943@kao2.melbourne.sgi.com> <3BCBE29D.CFEC1F05@alacritech.com>

Followup to:  <3BCBE29D.CFEC1F05@alacritech.com>
By author:    "Matt D. Robinson" <yakker@alacritech.com>
In newsgroup: linux.dev.kernel
> > 
> > The -ac tree is moving to a single copy of zlib, in fs/inflate_fs.  It
> > is currently used by cramfs and zisofs.  jffs2 in the -ac tree still
> > uses its own copy of zlib and should be converted.
> 
> Any plans to fix this for the Linus tree?  Also, why place this in fs?
> Shouldn't this be around for PPP along with other things that
> can use it (like LKCD)?
> 

PPP uses a nonstandard deviant of zlib, or *so I've been told*, so
that one is out.

The reason it's in fs is because I wasn't feeling sure that the memory
management as implemented is adequate for non-fs-related
applications.  I might change that, though, but I wanted to move
somewhat slowly.

Memory management in zlib is nontrivial.  If you port the user-space
zlib the "obvious" way to kernel space, you get memory management that
is completely unacceptable to a filesystem application -- too easy to
get random errors due to memory allocation failures.

A major problem is that the module name "deflate" is used by PPP,
despite it being a nonstandard format...

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>

  reply	other threads:[~2001-10-17  8:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-15 13:06 libz, libbz2, ramfs and cramfs Cristiano Paris
2001-10-15 22:53 ` H. Peter Anvin
2001-10-16  4:35 ` Keith Owens
2001-10-16  7:32   ` Matt D. Robinson
2001-10-17  8:31     ` H. Peter Anvin [this message]
2001-10-18  3:04       ` Paul Mackerras
2001-10-18  3:25         ` H. Peter Anvin
2001-10-18  7:15           ` Paul Mackerras
2001-10-18 12:15             ` Paul Mackerras
2001-10-18 17:33               ` H. Peter Anvin
2001-10-17  8:45     ` David Woodhouse
2001-10-16 17:36   ` 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='9qjfki$ob5$1@cesium.transmeta.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@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.