Messages in this thread | | | Date | Thu, 2 Sep 2004 18:45:20 -0700 | From | Tom Rini <> | Subject | Re: [PATCH,RFC 2.6.9-rc1 2/2] zlib_inflate: Add __BOOTER__ around zlib_inflate_trees_fixed(...) |
| |
On Fri, Sep 03, 2004 at 11:14:34AM +1000, Paul Mackerras wrote:
> Tom Rini writes: > > > This is the second part of what I found. zlib_inflate_trees_fixed(...) > > isn't called in decompressing a kernel. Dropping this, and the call to > > I think it is just luck that gzip hasn't used the fixed table in > compressing the kernel. I don't think we have any guarantee that gzip > won't use the fixed table.
That is a good point. Looking at arch/ppc/boot/lib/zlib.c it generates the table, instead of having a static one. So perhaps we should move to that instead for lib/zlib_inflate ?
-- Tom Rini http://gate.crashing.org/~trini/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |