lkml.org 
[lkml]   [2001]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Which is currently the most stable 2.4 kernel? (PPP)
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.043 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site