I've hacked at the CVS code for 2.4.20-cc and it runs
fine on my laptop this way. It does NOT like the
nvidia driver and doesn't seem to like `iptables -t nat
-I POSTROUTING -o eth0 -j MASQUERADE` at all. Please
locate someone with some sort of GeForce or TNT card
who can make this work, and also try to figure out why
iptables doesn't work. I'm using Gentoo Linux and this
patch on a 2.4.20 stable vanilla kernel.
as always, `cd /usr/src/linux-2.4.20 && bzcat
patch-linuxcompressed-2.4.20 | patch -p1`
No real major changes other than some code
reorganization. A few new bugs/bad hacks. I'm still
not done but in case I destroy it, here's my progress
so far. I need to figure out where the heck the code
is for writing the meta-data to swap, and I'm
COMPLETELY rewriting that because it looks messy to me.
The code in get_comp_data() looks like it's dependant
on the exact structure of the metadata. I'll simply
use a structure comp_cache_metadata{} and skip by
sizeof(struct comp_cache_metadata), then
memcpy(start_of_meta_data, sizeof(struct
comp_cache_metadata), metadata_struct) (after looking
up how memcpy really works). This way the metadata can
be changed easily, whenever, without running all around
and trying to rewrite all the low-level handling code.
patch