Re: Which is currently the most stable 2.4 kernel? (PPP)

From: Till Immanuel Patzschke (tip@internetwork-ag.de)
Date: Wed Oct 03 2001 - 10:48:28 EST


Hi,

2.4.10 + the ppp patch works fine on UP - if you need the SMP you can hack/patch
socket.c to "make" PPP SMP safe (the patch below works perfectly well for me on
a 2 CPU P-III system for 6 days now -- no lockups, no crashes - and I'm loading
the system constantly w/ up to 4000 PPPoX sessions, starting stopping etc... -
NO PROBLEM.)

Please keep in mind - the folling is a HACK!

Cheers,

Immanuel

--- net/socket.c~ Tue Aug 28 19:56:06 2001
+++ net/socket.c Fri Sep 28 18:22:53 2001
@@ -682,10 +682,10 @@
        struct socket *sock;
        int err;

- unlock_kernel();
+ //unlock_kernel();
        sock = socki_lookup(inode);
        err = sock->ops->ioctl(sock, cmd, arg);
- lock_kernel();
+ //lock_kernel();

        return err;
 }

-
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/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:28 EST