Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4602790pxa; Mon, 10 Aug 2020 13:14:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXXsJGxWHenj76U+BgwgeYh87Mxo4hzkbGD3rVcBSwv1qWI/GWBEDD4n5xxxLNODRyECVV X-Received: by 2002:a05:6402:2069:: with SMTP id bd9mr22218505edb.127.1597090466106; Mon, 10 Aug 2020 13:14:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597090466; cv=none; d=google.com; s=arc-20160816; b=RqLvJBx1dpa3lekEnnPMuT0aRLl4hLrlZdKPzlAjsxjYjwEWAYkAm5/YoYyhp2OqIB szUTSMxTcXjRx5KniTG90yXEfO8q/p5rr4d+ZJlpsk+1Yatw3xud4/uRe+pzXvPRLwoT gB5CNDJkyfz/t7FEXfRFZXehyJar4VWLsJGnD+/yZyryTNInx70b72BM95KWASqdxAgc ywTg208E3m5/2zSpXwLoOSF5gNrFICaqLQctFv/LBWy6fuLy7lrc7E2uWg/dmkPTkJKl Zu3qtKTf0MmgIzMB2n8bozGCwd016pCW4gd4ARY5CCNfxvkKa9M9uK58Byy9pmjuowqP rHRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZSAg39q96p74JTIalb6bZ2racT8O7omo7ECLmgOnpzM=; b=rh/7JZxBk5fBbjNYy1IUyYfb0Mr/6F+2GiLICDG9WTDPqhk2xcAqt4yy/lrbm7/69D wfvQf8ljjzwhLx7KTU4KgAu4Bz8hKEKzEvIcyCbxA5sQHzDLFzOPta608BIxx7DKc9KE xHin3Pa0INiGXwZM2Xag2yQsHWZl51btUasjxD072nWTdeSkOponyafGyGTRilqJ3lgW WRSp9nciizMthvGNurka+PJUsv8+2SFF2zQd/4lCW9JViuils5cWUlcKThHdkO9XKa+T KSUxoo79kEA9xGppt2U3lf43kAbk8FXugR+mGwUQW/r50a1pfrTbp4Biqt5FSktHVS40 exQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=FcjtyaDG; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si11736688ejd.405.2020.08.10.13.14.03; Mon, 10 Aug 2020 13:14:26 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=FcjtyaDG; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726546AbgHJUMf (ORCPT + 99 others); Mon, 10 Aug 2020 16:12:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726648AbgHJUMe (ORCPT ); Mon, 10 Aug 2020 16:12:34 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CEE6C061756 for ; Mon, 10 Aug 2020 13:12:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ZSAg39q96p74JTIalb6bZ2racT8O7omo7ECLmgOnpzM=; b=FcjtyaDGP4xSBMlJql8RmVa7WJ Mz0CAV34kHkHfK1Qp2SZZP24tQs5lPRj/9WI0csq36V3QfwTb/kfC8HaAe/Y6UKz7niDgcnSvPtyN rGWF/wScV92z4VFv/dkvvhyybFtbtnlGtdCzcQfiSR1TAK2mSlcfYn24wIVcVFUcFljg6u/XcGUXF WyHDieNQdQoY1GYmq+WXpex9xjBZoi+pQ4mQqWtmOPjCiMT//ViUh5qTIFkfHGTHmIrNqyKOazGnd Su3sIf6RZZuefbJar2ICfOCvCt5YphzJNTRDbBYKbu6jNtgWQU7Lsdl/k3O8F7MaUkldnk8a1nwuv nXdtuBMA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k5E9m-0007b6-FG; Mon, 10 Aug 2020 20:12:30 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 0378D980D39; Mon, 10 Aug 2020 22:12:27 +0200 (CEST) Date: Mon, 10 Aug 2020 22:12:27 +0200 From: Peter Zijlstra To: Jens Axboe Cc: "linux-kernel@vger.kernel.org" , Oleg Nesterov Subject: Re: [PATCH] kernel: update callers of task_work_add() to use TWA_RESUME Message-ID: <20200810201227.GC3982@worktop.programming.kicks-ass.net> References: <10debfb3-25f2-20ed-d4f3-1d95ba4c2129@kernel.dk> <20200810114407.GT2674@hirez.programming.kicks-ass.net> <21d27dfe-91f8-ebc3-6390-a0345603ac28@kernel.dk> <2aeafd33-7e26-cdfc-9a4c-98965faeccfb@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2aeafd33-7e26-cdfc-9a4c-98965faeccfb@kernel.dk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 10, 2020 at 11:50:33AM -0600, Jens Axboe wrote: > On 8/10/20 8:37 AM, Jens Axboe wrote: > > On 8/10/20 5:44 AM, peterz@infradead.org wrote: > >> On Sat, Aug 08, 2020 at 03:43:50PM -0600, Jens Axboe wrote: > >>> Any pre-existing caller of this function uses 'true' to signal to use > >>> notifications or not, but we now also have signaled notifications. > >>> Update existing callers that specify 'true' for notify to use the > >>> updated TWA_RESUME instead. > >>> > >>> This was noted in the original commit as well: > >>> > >>> e91b48162332 ("task_work: teach task_work_add() to do signal_wake_up()") > >>> > >>> Cc: Oleg Nesterov > >>> Cc: Peter Zijlstra > >>> Signed-off-by: Jens Axboe > >>> > >> > >> Acked-by: Peter Zijlstra (Intel) > >> > >> How do you want to route this? > > > > I don't really care, as I have no dependencies on it. Feel free to queue > > it up! It's just sitting at the top of my io_uring branch right now, > > but that's because I had to stuff it somewhere. Easy to pop off the top. > > FWIW, I dropped this from my branch, so would be great if you or Oleg > could push this one upstream. Will do, thanks!