<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/linuxcompressed/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/linuxcompressed/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 13 Oct 2003 21:22:15 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/linuxcompressed/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>CVS 2.4.20 separation hacks</title><link>https://sourceforge.net/p/linuxcompressed/patches/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've hacked at the CVS code for 2.4.20-cc and it runs&lt;br /&gt;
fine on my laptop this way.  It does NOT like the&lt;br /&gt;
nvidia driver and doesn't seem to like `iptables -t nat&lt;br /&gt;
-I POSTROUTING -o eth0 -j MASQUERADE` at all.  Please&lt;br /&gt;
locate someone with some sort of GeForce or TNT card&lt;br /&gt;
who can make this work, and also try to figure out why&lt;br /&gt;
iptables doesn't work.  I'm using Gentoo Linux and this&lt;br /&gt;
patch on a 2.4.20 stable vanilla kernel.&lt;/p&gt;
&lt;p&gt;as always, `cd /usr/src/linux-2.4.20 &amp;amp;amp;&amp;amp;amp; bzcat&lt;br /&gt;
patch-linuxcompressed-2.4.20 | patch -p1`&lt;/p&gt;
&lt;p&gt;No real major changes other than some code&lt;br /&gt;
reorganization.  A few new bugs/bad hacks.  I'm still&lt;br /&gt;
not done but in case I destroy it, here's my progress&lt;br /&gt;
so far.  I need to figure out where the heck the code&lt;br /&gt;
is for writing the meta-data to swap, and I'm&lt;br /&gt;
COMPLETELY rewriting that because it looks messy to me.&lt;br /&gt;
The code in get_comp_data() looks like it's dependant&lt;br /&gt;
on the exact structure of the metadata.  I'll simply&lt;br /&gt;
use a structure comp_cache_metadata{} and skip by&lt;br /&gt;
sizeof(struct comp_cache_metadata), then&lt;br /&gt;
memcpy(start_of_meta_data, sizeof(struct&lt;br /&gt;
comp_cache_metadata), metadata_struct) (after looking&lt;br /&gt;
up how memcpy really works).  This way the metadata can&lt;br /&gt;
be changed easily, whenever, without running all around&lt;br /&gt;
and trying to rewrite all the low-level handling code.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Richard Moser</dc:creator><pubDate>Mon, 13 Oct 2003 21:22:15 -0000</pubDate><guid>https://sourceforge.netb3327d5f1ecf9bbb43730bcb1a6ce789792d5ada</guid></item><item><title>Linux 2.4.20 vanilla patch (DAMAGED)</title><link>https://sourceforge.net/p/linuxcompressed/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is a 2.4.20 patch.  X won't start and I get&lt;br /&gt;
&amp;amp;quot;Illegal Instruction&amp;amp;quot; from the XKeepsCrashing binary&lt;br /&gt;
gentoo tries to run.  It's damaged, yes, but it's a&lt;br /&gt;
start.  *try* to fix it . . . I can't.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Richard Moser</dc:creator><pubDate>Wed, 27 Aug 2003 00:29:45 -0000</pubDate><guid>https://sourceforge.netb09f95c1a253971cd370e5bd97de33ef9b8b9d5e</guid></item><item><title>Linux 2.4.21 vanilla kernel patch</title><link>https://sourceforge.net/p/linuxcompressed/patches/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It works.  I had to apply some of the patch by hand&lt;br /&gt;
from the .rej files.  I've tested it, it seems to work&lt;br /&gt;
fine for 2.4.21 kernels.&lt;/p&gt;
&lt;p&gt;Word of caution:  I've altered the damn thing a bit. &lt;br /&gt;
You don't have a double-size bool anymore; instead, you&lt;br /&gt;
have a choice of:&lt;/p&gt;
&lt;p&gt;PAGE SIZE:&lt;br /&gt;
Single&lt;br /&gt;
Double&lt;br /&gt;
Quad&lt;br /&gt;
8x&lt;br /&gt;
16x&lt;br /&gt;
32x&lt;br /&gt;
64x&lt;/p&gt;
&lt;p&gt;Major caution here:  64x performs inferior to 32x,&lt;br /&gt;
because it has a lot of failed alloc's.  ALSO, when it&lt;br /&gt;
hits up of 200 failed alloc's the system simply halts&lt;br /&gt;
violently--I THINK.  It might do other nasty things on&lt;br /&gt;
other machines. I've seen 37% average on 64x (same as&lt;br /&gt;
double-size IIRC), and 43% average on 32x.  I hit &amp;amp;gt;200&lt;br /&gt;
failed alloc's in about 10 minutes running X with&lt;br /&gt;
gnome2 on 256 MB RAM.&lt;/p&gt;
&lt;p&gt;32x is prone to far less failed alloc's (been running&lt;br /&gt;
all night, have 51 now), and thus gets better ratios&lt;br /&gt;
because it's managing to actually compress things now.&lt;br /&gt;
However it's getting some and that does NOT look stable.&lt;/p&gt;
&lt;p&gt;I recommend 8x or less, although I'm going to try for&lt;br /&gt;
16x here in a minute.  I don't feel like scanning&lt;br /&gt;
through the source and trying to find each usage of&lt;br /&gt;
COMP_PAGE_SIZE and hacking it to use a kernel command&lt;br /&gt;
line option, but I think I have a way to do that easier&lt;br /&gt;
and will look into it.  I'll use COMP_PAGE_SIZE_DEFAULT&lt;br /&gt;
instead, and define COMP_PAGE_SIZE to point to a global&lt;br /&gt;
external variable.  This variable can be set at boot&lt;br /&gt;
before the driver is activated.  You can clean up the&lt;br /&gt;
cruft behind me.&lt;/p&gt;
&lt;p&gt;--Bluefox Icy&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Richard Moser</dc:creator><pubDate>Sun, 10 Aug 2003 16:16:05 -0000</pubDate><guid>https://sourceforge.net30a31a8174a162685183344688c5fb6979f58560</guid></item></channel></rss>