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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94B2FC433EF for ; Mon, 28 Mar 2022 16:28:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240958AbiC1Qaa (ORCPT ); Mon, 28 Mar 2022 12:30:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237772AbiC1Qa2 (ORCPT ); Mon, 28 Mar 2022 12:30:28 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DA2E27B1E for ; Mon, 28 Mar 2022 09:28:47 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1648484925; 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=KElUiPZJmlu+bscSLCKI3jUJiul+biPhPcK8ScQBm7g=; b=2UhoFhYL98/AhB/ZNcs2xDZ6kJliAONaMSCORQCj75F4WZ+IZjAWjMQzgbnK/QqYG1WwSG DpTlE+hl3LIGKqrjK8mPQuFhWV2qLw6tYhFJsyyq4ah2LGhpyqVad3uRVlhLkSfHH85jbY BOqeTuYlPIy9zxcpdlR7xxAcpqnGVj9WqZiIIKW1XTR/SuoYsdtONLTGUgF/PoTf7WRqDw rGKI3FPE6g4nl9F7+ONu+h1Gysq7czEHfc1L//5RvrYWYXBAdDMLuGxRUb1hTxt/nB9Bvv e4pTef6u88KquXmSd8jrHcQHgPzJaQKRVwTFImF6cLcf5MBEbol3G+Pq1a0eoA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1648484925; 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=KElUiPZJmlu+bscSLCKI3jUJiul+biPhPcK8ScQBm7g=; b=5omu/EAIJwCEMPl6keG5xaAyoGqmxWMlt7/4NWmCwm4H8G5uIhqAiV6PFeOco+scojvIF9 AS6kEE5VCQpaXXDw== To: "Eric W. Biederman" , Sebastian Andrzej Siewior Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Oleg Nesterov , "H. Peter Anvin" , Andy Lutomirski , Ben Segall , Borislav Petkov , Daniel Bristot de Oliveira , Dave Hansen , Dietmar Eggemann , Ingo Molnar , Juri Lelli , Mel Gorman , Peter Zijlstra , Steven Rostedt , Vincent Guittot Subject: Re: [PATCH] signal/x86: Delay calling signals in atomic In-Reply-To: <8735j2xigt.fsf@email.froward.int.ebiederm.org> References: <8735j2xigt.fsf@email.froward.int.ebiederm.org> Date: Mon, 28 Mar 2022 18:28:44 +0200 Message-ID: <87tubif3cz.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 28 2022 at 09:25, Eric W. Biederman wrote: > Sebastian Andrzej Siewior writes: > Further this code is buggy. TIF_NOTIFY_RESUME is not the correct > flag to set to enter into exit_to_usermode_loop. TIF_NOTIFY_RESUME is > about that happens after signal handling. This very much needs to be > TIF_SIGPENDING with recalc_sigpending and friends updated to know about > "task->force_info". > > Does someone own this problem? Can that person please fix this > properly? > > I really don't think it is going to be maintainable for PREEMPT_RT to > maintain a separate signal delivery path for faults from the rest of > linux. Fair enough. Let me queue a revert and go back to the drawing board. Thanks, tglx