From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9EE67C88E7F for ; Tue, 15 Sep 2026 11:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Cc:To:Subject: From:MIME-Version:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=D7g9xDZ0omvORxToAZd7wz5+AlCcHiBcOzmxibNhlVA=; b=o+4x90F16tkqYvm2Q8KW7WpW/A O8VLtSnypT5xeTPl+rsQPGHS4Rww2LMTpWFfqOP562Ny/4td3mgaNd3a71HOxCADCqeWmyYjM7G2c 2DK97ZA29vn5NrPUXstXRABFptpBLwyrN75ewGgxXc6/xDhC6xZjmWo9lpBvY55sRmjn+MRxxYnAJ UNUenD1Nqa5cqbJTWsCPFTfpMruhgkjqp+JVreP8FF70Fa3Ju/5XU3bzEf5AFv0fUtIEX3Qeh6nZ7 8OQBU46vH3WDCzYESZ18nWNMt0PsF4Tl0AcwiW4DHdOCeNbesAhErlos+QkhpZQlxCpB8uJzCDE+c KTE9GCNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x6Rkf-00000006K3P-27NX; Tue, 15 Sep 2026 11:55:05 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x6Rkd-00000006K35-3ioS; Tue, 15 Sep 2026 11:55:04 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id A243943B4D; Tue, 15 Sep 2026 11:55:03 +0000 (UTC) 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 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> X-BeenThere: kexec@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "kexec" Errors-To: kexec-bounces+kexec=archiver.kernel.org@lists.infradead.org > 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