From: philw@plan9.att.com philw@plan9.att.com
Subject: exec(2) problem?
Date: Tue, 6 Feb 1996 04:57:34 -0500 [thread overview]
Message-ID: <19960206095734.XUnrerXkeIizENQe70OUOC1zcbPFOiejiSLpOZYoGo8@z> (raw)
It's a problem, imagereclaim should not call sleep.
change segment.c:228 from resrcwait(0) to sched().
This will prevent races cleaning the cache but
still allow things to proceed. I looked at the
other potentially sleeping things (close, fdclose)
and they seem ok because there is a waserror
on close which prevents the error from propagating
back to exec.
Diff's from the CD:
diff /n/juke/plan_9/sys/src/9/port/segment.c /sys/src/9/port:
228c228
< resrcwait(0);
---
> sched();
next reply other threads:[~1996-02-06 9:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-02-06 9:57 philw [this message]
1996-02-06 12:08 forsyth
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=19960206095734.XUnrerXkeIizENQe70OUOC1zcbPFOiejiSLpOZYoGo8@z \
--to=philw@plan9.att.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;
as well as URLs for NNTP newsgroup(s).