9front - general discussion about 9front
 help / color / mirror / Atom feed
From: qwx@sciops.net
To: 9front@9front.org
Subject: Re: [9front] fix race condition on writes to #v/vgactl
Date: Thu, 18 Aug 2022 07:36:33 +0200	[thread overview]
Message-ID: <A155023DB7981C91B4DAD81A5913892B@wopr.sciops.net> (raw)
In-Reply-To: <614F45799921E978382B1562E32B1F75@eigenstate.org>

On Thu Aug 18 04:22:59 +0200 2022, ori@eigenstate.org wrote:
> Quoth qwx@sciops.net:
> > 
> > You're absolutely right.  Here's another attempt; the code is a mess,
> > but I'm not up for refactoring it all right now.
> > 
> > What do you think?
> > 
> 
> looks ok to me.
> 
> Though, I wonder if we can just simplify by taking the lock on
> entry, and release it on return; I don't think that any of
> these operations happen often, so we don't need to be fine
> grained.

Alright, pushed.  I'll leave refactoring all of this for later.
Thanks!

Cheers,
qwx

      reply	other threads:[~2022-08-18  5:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-16  6:12 qwx
2022-08-16 20:44 ` qwx
2022-08-16 20:51   ` Jacob Moody
2022-08-16 23:02   ` Anthony Martin
2022-08-17 12:10     ` qwx
2022-08-17 12:17       ` ori
2022-08-17 20:21         ` qwx
2022-08-18  2:23           ` ori
2022-08-18  5:36             ` qwx [this message]

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=A155023DB7981C91B4DAD81A5913892B@wopr.sciops.net \
    --to=qwx@sciops.net \
    --cc=9front@9front.org \
    /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).