Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4241695pxa; Mon, 10 Aug 2020 04:47:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv2PH4w8h/cW1/qNdz1ZpOv/V2YCR/lXKayRITs8vDHKzo0k9QL9d6KhqcB3TEJgkbt3QY X-Received: by 2002:a17:906:fad1:: with SMTP id lu17mr20766899ejb.127.1597060076700; Mon, 10 Aug 2020 04:47:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597060076; cv=none; d=google.com; s=arc-20160816; b=B+QlyL1j68wphrsMwHsLZkMj2ksSNW8fdGfx78jupQl2piE9PtiXhtSTDLCc9AShiG a23/FxFTj9Gms2LSKQGAbnMLs7u5JP5ZJ/hO4paE6F7pCdzENCgpzsTCL5AldOZeoKF8 O+aebMj/YvbsGFWhLY8dqxaocmC6iH+rfLsi8+0FlkuWUS1hwDCnPu8DawapA8bftZtk o9seb4bAZQefJ9mudjTs/Ru5LIVMihPk3pgSVeTlQHk44Dj0kvk15toIrtQovoEU9rPi obHHKapeHuBqUt8XLEiUr63r31GdpMZqr4GaubaH+KbYs7bne6gRoV9juq3pwW0bMxtK P7SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=dCq63aAsnYpPi+BbUUGumNHkJsEFdrzn5bunN7eRJEs=; b=UX4GNt1t3cch7LNE9RkxBfcuU4HZbAfloWK1VypdjNLT+vZFbLaSoHd95rqMqhMpSl rdWaxlCNoXvp258l6hdJuGo/dGVcpihkT1mm+r4zgCCibNTcBvgZtCAPqSQcn9ZUlQBd GRZVpvUpLaRlLw4mxvrXuGVn970xVQTk28XaZvbpvin7XA85FMvCyNbkvcJc84o/R4iR Qrr8htPtTWU9v69w50JMxhwbsgg9ACQPY4+dJ9o7MEIpB4fwkn55lr7+nyw3XsLy5bMi Fo/l00khttY0l2ysYihwhYFS/Cq0O+FMDaE27gtdFi9vTJtU0bxROnjSiO4KJihGrPpA Etog== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=KN7athog; 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 x16si4940621ejy.527.2020.08.10.04.47.14; Mon, 10 Aug 2020 04:47:56 -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=KN7athog; 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 S1726412AbgHJLoM (ORCPT + 99 others); Mon, 10 Aug 2020 07:44:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726141AbgHJLoM (ORCPT ); Mon, 10 Aug 2020 07:44:12 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7627C061756 for ; Mon, 10 Aug 2020 04:44:11 -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=dCq63aAsnYpPi+BbUUGumNHkJsEFdrzn5bunN7eRJEs=; b=KN7athogTCeWhdM/XptnAhX0Ls 01qULyxQqA8zpYNxgfGH77DNgJaoFcdplPA6fYGl74B0CEeW8CsI7W3iQNIZ9hJNctzLeNxvzUfku oh5rs/DwGUm3EBacGnYz0TjBpGAc/zS1ngFPfUtgyAOjarqBuweK9MJYaweOdDwb1uRBJRxmuMhpT SpEIw8AxqDaQZNO4rpRHMn++7oHGl4pIeK3m6SR2jaD7gkCEWHGWJOdJ1B8oAZvzFA90d/2N3X0Uv Ep/lehedvkjhxzvEQEpMlPa3f484xqxv8bBJZVxReW5JtS4MsLhhmNpUXj5AWltVyEGMn6Ge+x4yZ COnWTUwQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k56Do-0005Dc-A0; Mon, 10 Aug 2020 11:44:08 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 268E73003E5; Mon, 10 Aug 2020 13:44:07 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 18E4923D39366; Mon, 10 Aug 2020 13:44:07 +0200 (CEST) Date: Mon, 10 Aug 2020 13:44:07 +0200 From: peterz@infradead.org 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: <20200810114407.GT2674@hirez.programming.kicks-ass.net> References: <10debfb3-25f2-20ed-d4f3-1d95ba4c2129@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10debfb3-25f2-20ed-d4f3-1d95ba4c2129@kernel.dk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?