public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Till Immanuel Patzschke" <tip@internetwork-ag.de>
To: Chris Rankin <rankincj@yahoo.com>, linux-kernel@vger.kernel.org
Subject: Re: Which is currently the most stable 2.4 kernel? (PPP)
Date: Wed, 03 Oct 2001 17:48:28 +0200	[thread overview]
Message-ID: <3BBB334B.98D8750C@internetwork-ag.de> (raw)

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;
 }



                 reply	other threads:[~2001-10-03 15:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BBB334B.98D8750C@internetwork-ag.de \
    --to=tip@internetwork-ag.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rankincj@yahoo.com \
    --cc=tip@prs.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox