9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Martin Neubauer <m.ne@gmx.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Page problems
Date: Sat, 29 Sep 2007 16:21:56 +0200	[thread overview]
Message-ID: <20070929142156.GA801@shodan.homeunix.net> (raw)
In-Reply-To: <1c66a26cbb56c17eaf28e5706ea3cc95@quanstro.net>

As I said, it is weekend and I've got a little time at my hands to look
into this. The problem is indeed with the cacheing. A quick fix is this
change to /sys/src/cmd/page/view.c:

136,138c136
<       if(im == nil)
<               wexits(0);
<       if(resizing)
---
>       if(im && resizing)

I'm about to submit a patch with that for the powers that be. I haven't
extensively tested the diff, but it is as unobtrusive as I could wish for.

	Martin



  reply	other threads:[~2007-09-29 14:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-29 13:37 Gregory Pavelcak
2007-09-29 13:49 ` erik quanstrom
2007-09-29 14:21   ` Martin Neubauer [this message]
2007-09-29 14:35     ` Martin Neubauer
2007-09-29 14:37     ` erik quanstrom
2007-09-29 15:28       ` Martin Neubauer
2007-09-29 15:41         ` erik quanstrom
2007-09-29 16:17           ` Martin Neubauer

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=20070929142156.GA801@shodan.homeunix.net \
    --to=m.ne@gmx.net \
    --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).