9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] rpi4 shoots to 100% load and is unresponsive
Date: Thu, 7 May 2020 23:03:27 +0200	[thread overview]
Message-ID: <F5DBAAA6C86C8D8450789CBC16A4148C@felloff.net> (raw)
In-Reply-To: <2CCB0817-9F56-4A8E-8A72-F6555FB40280@cpan.org>

ok, could reproduce.

the issue appears to be that cmpswap() fails with negative values.

this broke with the new pid allocator.

void
castest(void)
{
	static long xxx = -1;

print("castest!\n");
	assert(xxx == -1);
	assert(cmpswap(&xxx, -1, 518));	// this fails
	assert(xxx == 518);
}

this could be a bug in the linker or with the assembly. i'll write
once i have a fix.

--
cinap


  parent reply	other threads:[~2020-05-07 21:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07 18:46 Romano
2020-05-07 19:25 ` [9front] " hiro
2020-05-07 19:47   ` Romano
2020-05-07 19:54 ` cinap_lenrek
2020-05-07 20:06   ` Romano
2020-05-07 20:45     ` Romano
2020-05-07 21:03 ` cinap_lenrek [this message]
2020-05-07 21:11 ` cinap_lenrek
2020-05-07 21:29 ` cinap_lenrek
2020-05-07 22:02   ` Romano
2020-05-08  4:44   ` kokamoto
2020-05-08  5:57     ` kokamoto

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=F5DBAAA6C86C8D8450789CBC16A4148C@felloff.net \
    --to=cinap_lenrek@felloff.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).