Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2020 09:07:22 +0000
From:      tonyaxperkinsj3961@gmail.com
To:        svn-src-head@freebsd.org
Subject:   =?UTF-8?B?5qC55o2u5oKo55qE5Lqn5ZOB77yM5om+5Yiw5YWo55CD6ZyA5rGC5oKo5Lqn5ZOB55qE?= =?UTF-8?B?6YeH6LSt5ZWG?=
Message-ID:  <0000000000008b66f305b7bef384@google.com>

next in thread | raw e-mail | index | archive | help
SSd2ZSBpbnZpdGVkIHlvdSB0byBmaWxsIGluIHRoZSBmb2xsb3dpbmcgZm9ybToNCuagueaNruaC
qOeahOS6p+WTge+8jOaJvuWIsOWFqOeQg+mcgOaxguaCqOS6p+WTgeeahOmHh+i0reWVhg0KDQpU
byBmaWxsIGl0IGluLCB2aXNpdDoNCmh0dHBzOi8vZG9jcy5nb29nbGUuY29tL2Zvcm1zL2QvZS8x
RkFJcFFMU2R1OElXVFVmdk9XaGdTZ2RPaVZDcHA2MW1BcEtSMklHUERGd25GOXVHUmVPWkhRdy92
aWV3Zm9ybT92Yz0wJmFtcDtjPTAmYW1wO3c9MSZhbXA7ZmxyPTAmYW1wO3VzcD1tYWlsX2Zvcm1f
bGluaw0KDQpJJiMzOTt2ZSBpbnZpdGVkIHlvdSB0byBmaWxsIGluIGEgZm9ybToNCg0KR29vZ2xl
IEZvcm1zOiBDcmVhdGUgYW5kIGFuYWx5c2Ugc3VydmV5cy4NCg==
From owner-svn-src-head@freebsd.org  Fri Jan  1 18:44:00 2021
Return-Path: <owner-svn-src-head@freebsd.org>
Delivered-To: svn-src-head@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 30A8A4D05DF;
 Fri,  1 Jan 2021 18:44:00 +0000 (UTC)
 (envelope-from danfe@freebsd.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4D6v7N0vbtz3h5K;
 Fri,  1 Jan 2021 18:44:00 +0000 (UTC)
 (envelope-from danfe@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
 t=1609526640;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=OnQsJ3S9OXmNL+UHheJOZU58BAXraCzW3fPlQwQtbgU=;
 b=ezO81IfDix5NawLJ1h7sEXBojoEB1VWZ9BR/rmb2qZK4cO8uZGNAzSQUf1pDg06IKDz4nc
 6opTSrt/D7rQmPP7/gPj1dV9/+9o1MlEktL+b00TVpwqKY66DaxyIKe6qVIv6l52f2OWdN
 f7P7q67tzRv31T6WQ1PjhvivoIKncGAcS982xuLb5wrEUDjRT36ga/hvI4EuDnp91XBJiy
 Os0J3G4LrbTCqL/z+OAHpL4YGCaTM1xY/p6KayGlzMElIf2/+gcLBMRJzR6AO+SuQmMGHs
 TL1mXh2gK20L0cFjER40HgyHRyFfww/5GIXWtjRc9lT+P+7SHT4AvirI+htnZw==
Received: by freefall.freebsd.org (Postfix, from userid 1033)
 id 165A94F4F; Fri,  1 Jan 2021 18:44:00 +0000 (UTC)
Date: Fri, 1 Jan 2021 18:44:00 +0000
From: Alexey Dokuchaev <danfe@freebsd.org>
To: Konstantin Belousov <kib@freebsd.org>
Cc: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Subject: Re: svn commit: r365787 - head/sys/fs/tmpfs
Message-ID: <20210101184400.GA77653@FreeBSD.org>
References: <202009152219.08FMJGMw065722@repo.freebsd.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <202009152219.08FMJGMw065722@repo.freebsd.org>
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
 s=dkim; t=1609526640;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=OnQsJ3S9OXmNL+UHheJOZU58BAXraCzW3fPlQwQtbgU=;
 b=kxFDMFtUZZfq56jwuukZ6P0J8iB5Xyq1Q4VEHjEWhGsPOF9fLM169U2PgEpiueuv88KBIG
 cRMiurmYvxyOUzfjVXlqqK/zCMMb28JFY/Z7lTgzSx674VRPCNFhAQ55V/93WAo/vbC+MZ
 swlzpL9Gqz+1SBB0TFe4Vo5QgGYD+WFABoGWlzGf/XUnZJsc+9KRxX17v0VD/HwjDdfSgK
 ytLuHGA1sYKCILZYFvVBXbSg3CSi2Ip8q+ZH7yY4R66+7TlilgxgPPLoAiPrRvHxbXRWXa
 1a8EU+4TmwxuYU04KVNOVW9ZJwMbL9NkzSZ5xf+xEeFtByKVhEwjUnynIXlrjA==
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1609526640; a=rsa-sha256; cv=none;
 b=bfMuDOZb8MhgAlaPWu8p+Givm5WqrF+Y5HFxjvB4isjx7tLgAy5x0T0fLmEFljpIbd2GZc
 lu8IQW6aH/LXA/P/MgS7iYQg2NGbMEFLa5HNRfA7Rxy/rlEjxvyYOcHRHKAZOI8ippLbw3
 TKe2jN0Yh7edJnAOOdBDe4sSdGwgXCcmSiDxO8A/yKPrph/Dbh426gvtiiNHQSwXrB6GBr
 IjY/egzwRwtrPabpZIheefHI00Rcii+/A5TCmgtObb9IDkQCT/6kA3ViD9cd92Kcg4h6uM
 7vb44p8gOJNjaN5v7NTrfRgg2f48VUIN6DM3NmYCCo6yr0Q79GmU7LnDr4p+Nw==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
X-BeenThere: svn-src-head@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: SVN commit messages for the src tree for head/-current
 <svn-src-head.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-head/>;
List-Post: <mailto:svn-src-head@freebsd.org>
List-Help: <mailto:svn-src-head-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Jan 2021 18:44:00 -0000

On Tue, Sep 15, 2020 at 10:19:16PM +0000, Konstantin Belousov wrote:
> New Revision: 365787
> URL: https://svnweb.freebsd.org/changeset/base/365787
> 
> Log:
>   Add tmpfs page cache read support.
>   
>   Or it could be explained as lockless (for vnode lock) reads.  Reads
>   are performed from the node tn_obj object.  Tmpfs regular vnode object
>   lifecycle is significantly different from the normal OBJT_VNODE: it is
>   alive as far as ref_count > 0.

This causes panics for me when building ports in the tmpfs-backed tinderbox.
Easily reproducible:

1) ./tc tinderbuild ... -b "$@"
2) tail -f .../tmp/make.log4 # on the adjacent console
3) wait until the build job finishes
4) ^C in the "tail" window -> crash
 ...
  __mtx_lock_sleep()
  tmpfs_free_node()
  tmpfs_fo_close()
  _fdrop()
  closef()
  fdescfree_fds()
  fdescfree()
  exit1()
  sigexit()
  postsig()
  ast()
  doreit_ast()

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0000000000008b66f305b7bef384>