public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [CFT] inflate.c rework arch testing needed
@ 2004-03-18 23:10 Matt Mackall
  2004-03-19  0:32 ` Jörn Engel
  2004-03-19 10:31 ` Russell King
  0 siblings, 2 replies; 10+ messages in thread
From: Matt Mackall @ 2004-03-18 23:10 UTC (permalink / raw)
  To: linux-kernel, discuss, Tom Rini

I've reworked the mess that is lib/inflate.c, including:

- proper formatting
- killing a ton of legacy code
- cleaning up IO and CRC handling
- eliminating all the global variables
- using __init for the core kernel
- proper linking rather than the #include "../lib/inflate.c" hack
- lots of minor cleanups along the way

This drops a ton of support code from all the users of this code as
well:

 arch/arm/boot/compressed/Makefile    |    5
 arch/arm/boot/compressed/misc.c      |  244 --
 arch/i386/boot/compressed/Makefile   |    6
 arch/i386/boot/compressed/misc.c     |  224 --
 arch/x86_64/boot/compressed/Makefile |    6
 arch/x86_64/boot/compressed/misc.c   |  212 --
 include/linux/inflate.h              |    9
 init/do_mounts_rd.c                  |  129 -
 init/initramfs.c                     |  139 -
 lib/Makefile                         |    4
 lib/inflate.c                        | 3047 ++++++++++++++++-----------------
 11 files changed, 1688 insertions(+), 2337 deletions(-)

I've converted only some of the users, and currently only tested x86.
Additional x86 testing as well as testing my current ARM and x86_64
support and doing the fixups for the other arches would be
appreciated.

Current patch rollup against 2.6.5-rc1 is at:

 http://selenic.com/inflate-work.patch.bz2

-- 
Matt Mackall : http://www.selenic.com : Linux development and consulting

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-04-01 12:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-18 23:10 [CFT] inflate.c rework arch testing needed Matt Mackall
2004-03-19  0:32 ` Jörn Engel
2004-03-19  3:09   ` Matt Mackall
2004-03-19  9:29     ` Jörn Engel
2004-03-28  7:00     ` [discuss] " Pavel Machek
2004-04-01 12:14       ` Jörn Engel
2004-03-19 10:31 ` Russell King
2004-03-19 17:16   ` Matt Mackall
2004-03-19 21:39     ` Russell King
2004-03-19 22:25       ` Matt Mackall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox