From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lamorak.hansenpartnership.com (lamorak.hansenpartnership.com [198.37.111.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA974223333 for ; Wed, 26 Feb 2025 14:26:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.37.111.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740580014; cv=none; b=LCQk/OVrjeLonh3i2S2cCqYf5sUgB7MI09S6Ntp/95Mq4wlWXd//osSgyCMx8sWuJrwuZcIQwx+64sqVp+aE1ZgMNBe8nre1Ov/Tka9WspsXqhFNBPNKs8YcMesWMmE8fQpjAifOGlPxNFxelM3EuALBMNCHRFdVbG/UzLq3u4E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740580014; c=relaxed/simple; bh=/OSmedE/ACjr7gFlF/szGIcSg2BBYnDAW6sXgSCux1M=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=f95L6LuYNh9NSiysahjyMWwQpbthwjcAgkqNPLeS1hoS3JcgeC/t1P76r7eYObTFt7nidJiGYiASbzPXt2nDz4ZGUWYOMweOfoaAsghqdxjrJVaZITKtyBYE+IWjVvEn8kS8+XJSjrMLcMV13tQ0+z/QfzmAUSNKkQJZzac6+0E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=HansenPartnership.com; spf=pass smtp.mailfrom=HansenPartnership.com; dkim=pass (1024-bit key) header.d=hansenpartnership.com header.i=@hansenpartnership.com header.b=tXwF2kCB; arc=none smtp.client-ip=198.37.111.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=HansenPartnership.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=HansenPartnership.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hansenpartnership.com header.i=@hansenpartnership.com header.b="tXwF2kCB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1740580011; bh=/OSmedE/ACjr7gFlF/szGIcSg2BBYnDAW6sXgSCux1M=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=tXwF2kCB1vbEyn8qGStqaZZVIB+Wbe2KS4s7B6H0K3VGoOXZ4oxq/zoCDBMcwJ1v1 fZ6oFZZf8mKYA32O9ZjdPM/VZKSx3qISuThxcc7PBzG+Sty1S6LL+FKOQhP31q1bTF n0FKfgp8mzn+anNwwaC0tK9pCHMx+BWBm23uFxDw= Received: from lingrow.int.hansenpartnership.com (unknown [IPv6:2601:5c4:4302:c21::a774]) by lamorak.hansenpartnership.com (Postfix) with ESMTPSA id 465FC1C257A; Wed, 26 Feb 2025 09:26:51 -0500 (EST) Message-ID: Subject: Re: C aggregate passing (Rust kernel policy) From: James Bottomley To: Miguel Ojeda , Ventura Jack Cc: Kent Overstreet , "H. Peter Anvin" , Alice Ryhl , Linus Torvalds , Gary Guo , airlied@gmail.com, boqun.feng@gmail.com, david.laight.linux@gmail.com, ej@inai.de, gregkh@linuxfoundation.org, hch@infradead.org, ksummit@lists.linux.dev, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, Ralf Jung Date: Wed, 26 Feb 2025 09:26:50 -0500 In-Reply-To: References: <20250222141521.1fe24871@eugeo> <6pwjvkejyw2wjxobu6ffeyolkk2fppuuvyrzqpigchqzhclnhm@v5zhfpmirk2c> <5E3FEDC4-DBE3-45C7-A331-DAADD3E7EB42@zytor.com> <2rrp3fmznibxyg3ocvsfasfnpwfp2skhf4x7ihrnvm72lemykf@lwp2jkdbwqgm> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 Precedence: bulk X-Mailing-List: ksummit@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Wed, 2025-02-26 at 14:53 +0100, Miguel Ojeda wrote: > On Wed, Feb 26, 2025 at 2:03 PM Ventura Jack > wrote: [...] > > Exception/unwind safety may be another subject that increases > > the difficulty of writing unsafe Rust. > > Note that Rust panics in the kernel do not unwind. I presume someone is working on this, right? While rust isn't pervasive enough yet for this to cause a problem, dumping a backtrace is one of the key things we need to diagnose how something went wrong, particularly for user bug reports where they can't seem to bisect. Regards, James