9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Presotto <presotto@closedmind.org>
To: 9fans@cse.psu.edu
Subject: [9fans] bugs, races, more bugs
Date: Mon, 17 Mar 2003 21:33:59 -0500	[thread overview]
Message-ID: <dc1d2b377192b7744bb973a9576d6e9c@plan9.bell-labs.com> (raw)

Timing out arp entries uncovered some bugs that we
hadn't noticed before plus I added one with the
timeouts.  The symptom was quiescent connections
timing out.  Fixed in ip/arp.c.

We also found a few races between packets being rerouted
and IP stacks being torn down.  The symptom was
a null dereference in ip.c crashing the kernel.
Fixed in ip/ip.c, ip/ipifc.c, ip/iproute.c,
ip/ipv6.c.  I left an assert in ip.c to make
the race more obvious in case we haven't stomped
on it yet.

Finally, I updated port/proc.c and port/devproc.c
with suggestions on scheduler changes from the list.
Processes trapped at low priority levels now float
up.  Also, sleep(0) now drops a process' priority
one level each call so that processes doing something
like:

	while(condition not true)
		sleep(0);

should dip down below whatever its waiting for.
I've been testing it on all our systems for a few
days and haven't seen a problem.  However, I never trust
this stuff till a wider audience tries it.  Could
people that didn't do well with the last version
try this out soon?


             reply	other threads:[~2003-03-18  2:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18  2:33 David Presotto [this message]
2003-03-18 14:53 Fco.J.Ballesteros
2003-03-18 15:17 ` Lucio De Re
2003-03-18 15:19   ` Fco.J.Ballesteros
2003-03-18 15:51     ` Lucio De Re
2003-03-18 15:56       ` David Presotto

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=dc1d2b377192b7744bb973a9576d6e9c@plan9.bell-labs.com \
    --to=presotto@closedmind.org \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).