From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 1241149E15E; Tue, 15 Sep 2026 11:55:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789473305; cv=none; b=rltM+WqNxGveqMWT2L2eIS9y0WE95MPlqIuOQu2/8T87Gww5tG2ZJNwq1NSxXBEX/JBGyjct+5xjj3pCxXAe+wOch3zDZv5u2PKJobXOu5YTh+T9iAR6aVbdtscr8SDZJSi81KzD01n/NHMIiTROKQ+DdtHUiCtkyLNV3t5w/KY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789473305; c=relaxed/simple; bh=D7g9xDZ0omvORxToAZd7wz5+AlCcHiBcOzmxibNhlVA=; h=From:Subject:To:Cc:In-Reply-To:References:Content-Type:Date: Message-Id; b=Ehwg6kDtHAipTDzr52NVxtoi5zEjak484AEOS9XkMCOtUmh8A6aWjx8Km0PfebSz4QrDkVl/t7TWY3JznKcipy3P6GuFpt3HktnXWEjz1HGIAlgjdUQJNWRk2pwpb0KGOLN/ppMTbZ8yzl2mz+Jbq/puSkkyzeiqxw/Awhvq6jE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZyJu22BU; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZyJu22BU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1D521F000FF; Tue, 15 Sep 2026 11:55:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1789473303; bh=D7g9xDZ0omvORxToAZd7wz5+AlCcHiBcOzmxibNhlVA=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=ZyJu22BUp/krcHqRNTq7jKcZ/omh/8BK0J0GGcmbyy5eXF7HLUhGysm81swJVRcRo fJATPHtnqwBnOk6PWVqaIPLWcfH7MWcD4yqz6G7e3EGCMvuO13BOVBnpv9ez1pkoHo h5dypooXJxYBa1oPbCPR5mUV6AbHtDqPpwLdNjZnOwcsbqEhQDByZ9Y6IWPAHL+aCB IGdiRVZ8zo4AG0M9gKDQBs0eP2aITK9r+bHOxAfCyl+sA6VP5e3n+m73i2wu6dE27u SdD2cWl466lslpt4/j2EFsvQA0Pnw2GlUhysF9C6CVND6+HZdKJG2WejdsdT6gvwdV rDjhEE9s7krJw== From: sashiko-bot@kernel.org Subject: Re: [PATCH RFC POC 15/50] sh: commit fds on syscall exit Reply-To: sashiko-reviews@lists.linux.dev To: "Linus Torvalds" , "Christian Brauner" Cc: linux-gpio@vger.kernel.org, "Eugenio Perez" , "Jan Kara" , "Ingo Molnar" , linux-hexagon@vger.kernel.org, "David Airlie" , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Jann Horn" , "Alexander Viro" , bpf@vger.kernel.org, linux-mips@vger.kernel.org, kvm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-csky@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-sh@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, io-uring@vger.kernel.org, "Peter Zijlstra" , virtualization@lists.linux.dev, kexec@lists.infradead.org, linux-alpha@vger.kernel.org, linux-parisc@vger.kernel.org, linux-m68k@lists.linux-m68k.org, "Michael S. Tsirkin" , sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-arm-msm@vger.kernel.org, =?utf-8?b?Q2hyaXN0aWFuIEJyYXVuZXIgKEFtdXRhYmxlKQ==?= , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, "Oleg Nesterov" , linux-snps-arc@lists.infradead.org, "Jens Axboe" , linux-hyperv@vger.kernel.org In-Reply-To: <20260915-work-fd-reserve-unify-folded-v1-15-4d5217d6b246@kernel.org> References: <20260915-work-fd-reserve-unify-folded-v1-0-4d5217d6b246@kernel.org> <20260915-work-fd-reserve-unify-folded-v1-15-4d5217d6b246@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 15 Sep 2026 11:55:00 +0000 Message-Id: <20260915115500.C1D521F000FF@smtp.kernel.org> Precedence: bulk X-Mailing-List: linux-alpha@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: > Add TIF_FD_SLOTS to the syscall work mask. syscall_exit rereads the > flags after the system call and goes to syscall_exit_work for any bit > in the all-work mask, but hands over a copy shifted right by eight > when the bit was in the upper byte. Reload the flags there and test > the full mask, so that the bit reaches do_syscall_trace_leave(). >=20 > Signed-off-by: Christian Brauner (Amutable) Sashiko has reviewed this patch and found no issues. It looks great! --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20260915-work-fd-re= serve-unify-folded-v1-0-4d5217d6b246@kernel.org?part=3D15