public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joe Korty <joe.korty@ccur.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Roland McGrath <roland@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: waitid breaks telnet
Date: Wed, 1 Dec 2004 18:22:04 -0500	[thread overview]
Message-ID: <20041201232204.GA29829@tsunami.ccur.com> (raw)
In-Reply-To: <20041201224906.GA11963@tsunami.ccur.com>

On Wed, Dec 01, 2004 at 05:49:06PM -0500, Joe Korty wrote:
> On Wed, Dec 01, 2004 at 05:30:14PM -0500, Joe Korty wrote:
> > On Wed, Dec 01, 2004 at 11:41:41AM -0800, Andrew Morton wrote:
> > > Roland McGrath <roland@redhat.com> wrote:
> > > >
> > > > I've had no luck reproducing that, so there isn't much I can do.
> > > 
> > > Did you try bare 2.6.10-rc2?
> > > 
> > > >  The last
> > > > time someone thought the waitid change broke something random, it was the
> > > > perturbation of the compiled code vs the issue that the kernel's assembly
> > > > code doesn't follow the same calling conventions the compiler expects.
> > > 
> > > Could be that, but I was able to reproduce it on 2.6.10-rc2 with
> > > gcc-2.95.4, with which -mregparm is disabled.
> > > 
> > > Still.  It would be interesting if Joe could retest with CONFIG_REGPARM=n?
> > 
> > CONFIG_REGPARM is not set in all of my kernels (just verified).
> 
> More info: I exclusively use CONFIG_SMP and CONFIG_PREEMPT.
> If it is a race either or both of these is likely to
> be involved.

Ok, I rebuilt 2.6.9 with CONFIG_PREEMPT=n and telnet failed
the one time I tried it.

Then I built with CONFIG_PREEMPT=n and CONFIG=SMP=n and
the first telnet attempt succeeded.  I then tried six
more telnet attempts, two of those failed and the rest
succeeded.

Since my earlier testing usually was of only 1 (sometimes
2) telnet attempts per boot, they too may have had some
ratio of success/failure other than 100% or 0%.

Joe

  reply	other threads:[~2004-12-01 23:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01  3:55 waitid breaks telnet Joe Korty
2004-12-01  4:27 ` Andrew Morton
2004-12-01 13:32   ` Joe Korty
2004-12-01 19:20   ` Roland McGrath
2004-12-01 19:41     ` Andrew Morton
2004-12-01 22:30       ` Joe Korty
2004-12-01 22:49         ` Joe Korty
2004-12-01 23:22           ` Joe Korty [this message]
2004-12-01 23:58             ` Roland McGrath
2004-12-02 17:54               ` Joe Korty
2004-12-02 22:39                 ` [PATCH] fix uninitialized variable in waitid(2) Joe Korty
2004-12-02 22:51                   ` Andrew Morton

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=20041201232204.GA29829@tsunami.ccur.com \
    --to=joe.korty@ccur.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@redhat.com \
    /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