Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1430130pxu; Fri, 16 Oct 2020 11:44:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznHjMD0B6PJnjRlboBlcm0H+e8XSI8XPEo0Xbb53U0n9ZzZd008dlH8vDdJvMUoNM2e3L2 X-Received: by 2002:a17:906:8248:: with SMTP id f8mr5341634ejx.292.1602873851935; Fri, 16 Oct 2020 11:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602873851; cv=none; d=google.com; s=arc-20160816; b=ooCYF987eizOaAVte2Dcm99kSXNQZRBlmR1MHPohWuvTjzpxP2MzMcWlnU9L9vFlKQ mMHVMRJWL64/l3TqIrXwsy9QBrb2ekAxb3v5LQ+6S4EsTebwNQXKKDvk4LfPUeN/wKV4 Z2Xye52VSdcYRHAt6VGpHv3uBj6ZVNoN4jJU9OQMjIVh4wKXdZ7CFiuRXRDybtupsAfA WZL184covLWjBi29QhUyKbxmbnPPXwq0llpKjbg4azSjHMmnJWU0nLrmOSohaMGgu2K0 e9wVvagZ5Hq76l0LeCxz7/SWr8qCJFe6sbQwSu8zWI7DvkVepDeGKPDffqyUyXSpfyDE RBrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=xa3I34LAVRoUUNBS2HyMAtk2zTSqAOC3alxtWLiNXD4=; b=Mv/8cmyM88fTdqj7M4USmqP4WW891KGNpE+uF3QA4UigOBkq9PCe+eCzY2uiS53Pzh 9tUXFUucglxkoKuuu/U3GKq3gtGpbavT4GflK+iV+H0+bnMCqEZOurLsCZTGBAVYYS1h mat9g9eaicTrvS1r2GBiuJGfJVBwf0dXmc8RBRSqQuNmrj1Te1EWipqhI9+vYkO+tV4M iHkBZNatBZaTReK5IYxViD1CDFil54qicjTId3iHBrGGmpmqBsC+HLW9wop7fIsO3ZKL 2heb3dzyMhwPhsdFuOeIR1k46oCHvay8uINB3WeiT4k0mM04MFMK//UgUetGksmHcWRx RJ2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=d6NRaZrN; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb5si2228740edb.251.2020.10.16.11.43.49; Fri, 16 Oct 2020 11:44:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=d6NRaZrN; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408581AbgJPORO (ORCPT + 99 others); Fri, 16 Oct 2020 10:17:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395333AbgJPORO (ORCPT ); Fri, 16 Oct 2020 10:17:14 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD97FC061755; Fri, 16 Oct 2020 07:17:13 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1602857832; 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=xa3I34LAVRoUUNBS2HyMAtk2zTSqAOC3alxtWLiNXD4=; b=d6NRaZrNNssH/jyNQVLdl0TVVZZ3yoCv0a6YEZl+hFwzZ4Tl4HqsFCCajGB+W1AyFu+rFN Zchik3URLzFBxj2PuUPFNPhZHj+X++6Ol7SX2/GK2vQVhCFZLRDC9xHM337ojxLZqKRHKt LtJomhXIUH6+TC4QZFf9RKhBDIlNrydNO0LVXDRqMoeoz4/HLbE7tT/XC3HVkZ3GK4IBeH fZS10BH1JgOOw1XkYiKOasa6opTs9xbkBQtMRrw7uvxUNN1kJMh010ALOoYUNTHrxjT9oe WfjD9swFOpSZedepfUm3hFGEurYx28uPC0Gnh46hmee7+ojjZI5lwJkfGeRucA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1602857832; 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=xa3I34LAVRoUUNBS2HyMAtk2zTSqAOC3alxtWLiNXD4=; b=l5ziGxNNpoT5AZTEg0huk4dknE0uQz06cTMngvONtYdMkc7icfV+wgzk/XVzxVyi28gv+v ZFDf4Rl8qej7EKCA== To: Jens Axboe , Oleg Nesterov Cc: linux-kernel@vger.kernel.org, io-uring@vger.kernel.org, peterz@infradead.org, Roman Gershman Subject: Re: [PATCH 5/5] task_work: use TIF_NOTIFY_SIGNAL if available In-Reply-To: References: <20201015131701.511523-1-axboe@kernel.dk> <20201015131701.511523-6-axboe@kernel.dk> <20201015154953.GM24156@redhat.com> <87a6wmv93v.fsf@nanos.tec.linutronix.de> <871rhyv7a8.fsf@nanos.tec.linutronix.de> Date: Fri, 16 Oct 2020 16:17:12 +0200 Message-ID: <87a6wmtfvb.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 16 2020 at 07:35, Jens Axboe wrote: > On 10/16/20 3:39 AM, Thomas Gleixner wrote: >> On Fri, Oct 16 2020 at 11:00, Thomas Gleixner wrote: >> That's a truly great suggestion: >> >> X86 is going to have that TIF bit once the above is available. >> >> I'm happy to help with the merge logistics of this. > > Not really following this email... What I tried to convey is, that the x86 tif bit is not going in before the complete thing (including cleanups) is available. I'm only half joking. > But it seems to me that you're happy with approach 2, so I'll do > the following: > > - Get rid of the CONFIG_GENERIC_ENTRY dependency for TIF_NOTIFY_SIGNAL > - Respin the arch additions and cleanups on top of that again > > And hopefully we'll have something mergeable at that point. Once we > have this series merged somewhere (would be great if you could carry > it), I'll be talking to arch folks on the rest. Once archs have taken > the necessary bits, I'll be posting the third and final series which > is the cleanups that are currently sitting on top of the arch support. Can you please just post the full thing after resolving #1 of the list items which I pointed out in the other reply? With moving the handling into get_signal() you don't need more changes to arch/* than adding the TIF bit, right? So there should not be much talking involved other than agreeing on the bit number to use. I might be missing something though. Thanks, tglx