From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6631 invoked from network); 8 Nov 2023 21:08:56 -0000 Received: from tb-ob21.topicbox.com (173.228.157.67) by inbox.vuxu.org with ESMTPUTF8; 8 Nov 2023 21:08:56 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob21.topicbox.com (Postfix) with ESMTP id AD573341AD for ; Wed, 8 Nov 2023 16:08:52 -0500 (EST) (envelope-from bounce.mM861c10f8be4b323658622f9a.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id 8BB962F5C40; Wed, 8 Nov 2023 16:08:52 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1699477732; bh=X7XnZmm/Doeg2jUnLWgC8RQJWi6QC8j8wtced ILfnic=; b=A8B5cbJSVXCToSWYnPW4M8t8RGZCnl1L1t8lxTNTTK1jaEX8URWQ8 WF+NOb3XwjXDwPb8HY6+VQcTAkk3cWhjg7ogW68tDAgE0Eg6oxebGlHYMa2X1GL6 /ZeZ57fV2YUo7h5Xr7P9n3TvJkNzbpnAu1CIQXWz9N3uBICa89Xed8= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1699477732; b=VC0VtRo5XKiCaUJw3PXUk46E8VAfChDzQPhnfKBLfNYfW7qAxk k7QvM1dw+0jb8bycCznc1+71dwIrx9FLEF/DjzQxIKoxOguRuNd72TarSRhBNbAr cba7RDrYOKeGmFA0paW4jMrVTqsXQWJpIfkqPRzAQwciCamLZEIjEhOrg= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t= 1699477732; x=1699564132; bh=X7XnZmm/Doeg2jUnLWgC8RQJWi6QC8j8wtc edILfnic=; b=K5gmNAN/UyDSEb3QpY14FTb26UQEKoO6c2M5nsRwrXztrqOGcl9 8kiIMx7WYTh0MNsbyvl1Yg11nW52hCS3YJbFkrhUJdv+3ewFVs4wjzBcXKhT7KoO laPbQFAzuMVVevuMtWR96vZdZ13r2l2+YOj5SGQt+z4cgzdqleiFAFDw= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id CFCC92D68F2D for <9fans@9fans.net>; Wed, 8 Nov 2023 16:08:36 -0500 (EST) (envelope-from ori@eigenstate.org) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id EF78CA1C893; Wed, 8 Nov 2023 16:08:36 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1699477716; b=jyZWOofn4NZoBA69RtV+OPrhsbzSgFN27WM+pS8U4UX2IgD1lR iK5/+oT6CIWynA1VN8FAPUpLkTR6DWH6MSMwTWX+smjaKBwp7siUqAZLsoM0PsAa EVFGRKoycGBRdkKqc4SEDXTsjb59huytBn0hZTtDynZHH8K2eavOiDkwPwsDd89U fOHul4cQjqTBNE0TPC9HJwFdapMXTVFA5e5bBnnp2dERG7ulNYvfZcnK2q0IxluI pZi1elRWbvVhlmlVFV7PUsf++jbefsI0PkRkNPcgVCG8JwBzcdJlLIIaPsK5M9oN W584QcN30ARchDccRjKqTsaQsWs7nQxW17xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1699477716; bh=Z6B2bcnknrdPaHvOhDCGKKRdrpmov2GF5k8rsBK90yg=; b= c2k9pCjZ5FyEkFv1TE8ZuAm7c5A4zkwX+eb8yShQ/Wqqm160VU3yjmKGXx5SfEQo Xs5Chk+wZoZuXFbpJo86hjaQ0dbYtNcEOqxX0yM1rbgMMFy0FhlN/CJvUsHVQifW ynHXBOjxqtSqvWOZWEFUo7vAt8L34b8ypKXff52OAmcSWWeEP0chT7lo/+Yt12nI kX2UlVLdqDry5HM5VyBOfqPtjtrqOvWgJuwiR42UZG+MM4FCpthalJMqAtP4nMgL FT/mci14eCwaLgQWLYQE6CVqk5TMzusuUCmM2QqWU4yVR8SwdQdjNA9tkuyNohQF EdFf5erDOqR31j2KJjHG5Q== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,kusuri.pikopiko.org,nokogiri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduledgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkffvuf ffhfgjgggtgfesthejjedttddtvdenucfhrhhomhepohhrihesvghighgvnhhsthgrthgv rdhorhhgnecuggftrfgrthhtvghrnhepvdefgeekieetgeehueefudfhtedvuefhgeelud duvdejhfdukeeiudelhedtgeelnecuffhomhgrihhnpehtohhpihgtsghogidrtghomhen ucfkphepvddtiedruddvgedrudefvddruddtjedpudejvddrheeirdduieehrdduvdekne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddtiedruddvgedr udefvddruddtjedphhgvlhhopehmihhmihhrrdgvihhgvghnshhtrghtvgdrohhrghdpmh grihhlfhhrohhmpeeoohhrihesvghighgvnhhsthgrthgvrdhorhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (eigenstate.org: 206.124.132.107 is authorized to use 'ori@eigenstate.org' in 'mfrom' identity (mechanism 'ip4:206.124.132.96/28' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="ori@eigenstate.org"; helo=mimir.eigenstate.org; client-ip=206.124.132.107 Received: from mimir.eigenstate.org (mimir.eigenstate.org [206.124.132.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Wed, 8 Nov 2023 16:08:35 -0500 (EST) (envelope-from ori@eigenstate.org) Received: from stockyard.lan ( [172.56.165.128]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 97eb66b6 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Wed, 8 Nov 2023 13:08:34 -0800 (PST) Message-ID: <05DC7BC5698D779E601D2AB8E1882F4B@eigenstate.org> To: 9fans@9fans.net Subject: Re: [9fans] odd rwakeup qunlock behaviour in 9vx Date: Wed, 08 Nov 2023 16:08:31 -0500 From: ori@eigenstate.org In-Reply-To: <16991481040.88FDBb.122754@composer.9fans.topicbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: fee0d426-7e7a-11ee-8aa7-4f6d078c7b06 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UN2E1YmIzY2RlNTBhOGE5YS1NODYxYzEwZjhiZTRiMzIzNjU4NjIy?= =?UTF-8?B?ZjlhPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M861c10f8be4b323658622f9a:1:FzIGc2GQt9i85LhfXpb_o-W_6uhz3PI45OM4kGu5fdM A complete snippet to reproduce this may be useful. That said, I have code that uses qlock and rendez heavily with no sleeps, and have not had any issues on 9front. Quoth ibrahim via 9fans <9fans@9fans.net>: > I have a function chan_send in which : > chan_send (...) { > qlock() > rwakeup(...) > qunlock() > } >=20 > If two such chan_send functions are called without a "task-switch" 9vx cr= ashes. A work around for this problem is to place a sleep(0) after qunlock = to enforce a task-switch >=20 > chan_send(...) { > qlock() > rwakeup(...) > qunlock() > sleep(0) > } >=20 > This behaviour isn't documented anywhere. I'll test it next on bare metal= with a real kernel to find out if this is only a 9vx problem. >=20 ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T7a5bb3cde50a8a9a-M861c1= 0f8be4b323658622f9a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription