Re: X much slower in 2.0.24 than in 1.2.13

Linus Torvalds (
Sun, 3 Nov 1996 14:18:34 +0200 (EET)

Could people who run 2.0.24 and see the bothersome X slowdown just try to
reverse the patch to linux/net/core/sock.c?

If you haven't reversed a patch before, it's not really hard:

cp patch-2.0.24 reverse
<your editor> reverse
... edit out everything but the patch to net/core/sock.c ...
cd /usr/src/linux/net/core
patch -R < xxx/reverse

The only strange phase is the editing phase: you just want to remove
everything above the line that reads

diff -u --recursive --new-file v2.0.23/linux/net/core/sock.c linux/net/core/sock.c

and then you want to remove everything that is after that patch (ie search
for the next line that starts with 'diff -u ..' and remove that and all
following lines).

Does such a patched kernel result in full speed unix domain sockets again? I
don't see anything else in the 2.0.24 patches that could even remotely result
in stuff like this.. (and the profiles weren't as conclusive as I hoped for)

I'm leaving for two days in Norway in an hour, so I don't have the time
to check this out until I return late on Tuesday..