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=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE,URIBL_CSS autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5590 invoked from network); 15 Aug 2022 14:21:21 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 15 Aug 2022 14:21:21 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id B14E93495D for ; Mon, 15 Aug 2022 10:21:14 -0400 (EDT) (envelope-from bounce.mMc0e95938ae16096f4aaad0b7.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id AEAAF313D42E; Mon, 15 Aug 2022 10:21:14 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.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=date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type:list-help:list-id :list-post:list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1660573274; bh=dbHVGrIxOCeOX58q ezfycCPZSI36Gmu/JiBDcgg8Rxc=; b=Ll3GLhTAfA8ItV0UEpfEsD0RDwaQtFC1 66hyNcAE7pqUFDATqsnc7RaP/sxaGdXzur2RV8W1oUe9zpJoY8bKtzpn2XQxtPDz TQUMg3/eJFruGVWSLpCOgmW0Uk+GYp3UVcofyXLV52Ozov+at1X50MYwPD0Oe0Xd 6KqWlM0WOkA= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1660573274; b=o3Cmo5RqkE6vE7lIO/S2CId2C32AfV1FaziZRk+BZZd978Zn7z riwV5M2QdJ/dQzDHoMPfsRw+kx9uA/gaBNg82Z2djG2YKcS51uZJ6QcJbFof8Zoq SDvkp7wI/antyEfcnVZNMH/4RqCQSzxE0i2dPmMXcP4jquKaWreFGdHzE= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.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-mx1.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.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.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=date:from :to:subject:in-reply-to:message-id:references:mime-version :content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; t=1660573274; x=1660659674; bh=dbHVGrIxOCeOX58qezfycCPZSI36Gmu/ JiBDcgg8Rxc=; b=DXwly5tpeS9scEArUaebkhls1JocZdM2L35VmBI0LLNL9gbQ qEOt9ocEqb4GRj4SqVIKTFE9ioTvz3q20mFJFrxUFV9QJG35FBKBoHECmBpm/BM1 DWAAEccaX+syJgFJXEdpVpGQ80BXoqIOZntd2rYoVCaZ6SUdxAKZBOz78yA= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id B5CE716A0A7F for <9fans@9fans.net>; Mon, 15 Aug 2022 10:21:01 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id A2443F116FE; Mon, 15 Aug 2022 10:21:01 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1660573261; b=wCGKNneCMa9VrGEv/QEQm/DUIxqmiy3490VmOm5cQqu8JcsI/Q laoevuOMUHWar9Cxe+AbPDKhwciwIb2h2HHlVJfLhiPxMJHhJonaIFqDqttZp3sJ Qd3pgo6tQzODn+9xdklHa/ojKKKwVerw+PYt9uTX9Bg7k9nO4GPTbSCl25Fp8CrM S4QGQh3LYVRyxX0N5nbO3MTSiCx4I9yktQLpA4doHJztVpBkOeSFK6eTNER5fMQh lEccj3g45KIQewe9nVnUxt0gfBoJFuacE7hHdJ9lmpAB573LnFi0Pzb32VYcXDJ7 cHa3O69eM0LQn8nSi+xzKO3pNUPB/FU0wcBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type; s=arcseal; t=1660573261; bh=gkcM6L4KmS9qDwHbJL1LdUOC0hj/dKpdRHG19uw1xLc=; b=ykVwnBTxEO43 IEmc7RKTnJy1mZxxEHTm0YQPFIhfHHsEfsZvwKAqzCWqLoSE0rpFvPRwsPcfEnAB 8tKekGc270xoGJo8fd/GKOJBLY/LF9TcFyX9s/hPGW/kwjLazknEDo4xNlO2nppN pIP7S0leqMYniy2Mc+3NIFO/8y4fxa1qQgCGVgk+i2gUtYombJaM5JgugbZaKVje xeo3Vdi5fn2Hwln4LUCKGwx4mhmogaeXfqAw6rv86huO/gP0qE6MidpTCzGfEFyP n4GCaxymc44txr+5S0EEf6EnqLvNpjpBKTUoKbZ7Oe1jrQNhpme0k5Cg+kYbUgs5 I9VajJiwkA== ARC-Authentication-Results: i=1; tb-mx1.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.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.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: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehvddgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf gjkfhfgggtsehttdertddttddvnecuhfhrohhmpegrughruceorggurhesufffhfdrqfft ifeqnecuggftrfgrthhtvghrnhepkeehtdevffehvefhtdeghfehgfevleevudejteejtd ehuddvfedvkeegtdffhfffnecukfhppedvtdehrdduieeirdelgedrvdegpddvtdehrddu ieeirdelgedrudeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvth epvddthedrudeiiedrleegrddvgedphhgvlhhopehmgidrshgufhdrohhrghdpmhgrihhl fhhrohhmpeeorggurhesufffhfdrqfftifeq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sdf.org: 205.166.94.24 is authorized to use 'adr@SDF.ORG' in 'mfrom' identity (mechanism 'ip4:205.166.94.0/24' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="adr@SDF.ORG"; helo=mx.sdf.org; client-ip=205.166.94.24 Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Mon, 15 Aug 2022 10:21:00 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from sdf.org (IDENT:adr@sdf.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 27FEKv9E005784 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for <9fans@9fans.net>; Mon, 15 Aug 2022 14:20:58 GMT Received: from localhost (adr@localhost) by sdf.org (8.15.2/8.12.8/Submit) with ESMTP id 27FEKvlv022454 for <9fans@9fans.net>; Mon, 15 Aug 2022 14:20:57 GMT Date: Mon, 15 Aug 2022 14:20:57 +0000 (UTC) From: adr To: 9fans <9fans@9fans.net> Subject: Re: [9fans] ramfs bug In-Reply-To: Message-ID: <75fdc75b-675d-c8e-b838-107f606f44c@SDF.ORG> References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 80e6afec-1ca5-11ed-b6db-a1036a47ee93 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYzM2NGI3NjZmZjY0NzNiYy1NYzBlOTU5MzhhZTE2MDk2ZjRhYWFk?= =?UTF-8?B?MGI3Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mc0e95938ae16096f4aaad0b7:1:nvKv9UALTGKaGXcvdBRJm0061W41m8aobOrHi-R7hyw On Mon, 15 Aug 2022, Richard Miller wrote: > A simple fix is to add a reference count to the Ram struct, to > keep track of how many Fids point to it, and only allow a Ram to > be re-used if both busy=3D=3D0 and ref=3D=3D0. The new 9legacy patch > ramfs-refcount makes this change. Thanks for sharing this with the list. It is really hard to keep track of what and when with 9legacy. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tc364b766ff6473bc-Mc0e95= 938ae16096f4aaad0b7 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription