Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1734944pxu; Fri, 16 Oct 2020 22:35:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyR7sE3fr4KHA6D64vjeYLWmePG4Znc1Ux0oQ++JIIQiFn883UA1xh6MT9wjwMy07SFU3vd X-Received: by 2002:a17:906:7fd7:: with SMTP id r23mr7045902ejs.310.1602912937376; Fri, 16 Oct 2020 22:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602912937; cv=none; d=google.com; s=arc-20160816; b=oOk15SCCZ9ymhy6ExeHjeIstm+9YC5N4mGIxkO9D+neKpNynUxsdrjjF3xFLHoU6Ed KgW0Q+MifV11laKCY4ajCefd4xa6fEtcgfmjrzCWTQSDIddmo2K+cM2cz+crAAlEi7LY osQh5i4OPw39kdCT3AouRz5GuiUR3x3fpw5AD7QGn53ayG2kZp7O80Rxqm4R+Ckp3GzP EaznjiiZOOlngncECYsRWq8qeU6Gu4jv/JdXF0O/vem+UD4VcBtUx5drFR9cH77zYnZ0 DRwyJQ1PpGfK5egeX22MJYb9Pu5tfrRgJrhvzKVUqgbvSupDQ9YEz5WQlexaTjdbfMk6 wI2A== 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=cA4HbeG5F1/kkAuX6BXrrQBRE+JeZsIFauduiNTWrGw=; b=pjs2yfaEtOrB3p8YF4A7Hd5TPqLVG9jPqGy1JShGScmK8t03dU8Th5jrjYQ2ry8cQE xDewlFnugaCaNrFTeQv/FutQZtIujn3WmMZrZOqgqrUw3BUANmgDhN7AALS4+/d12Q9F rgCdGL9LVIy4H7BGl+KZihPNZHjyOvJFnFIL+jHWftdg+5eWM5Fa5UfNBtMQk3f1amgQ PfgMHjbVdv5Zf31bzT3J8qhWBjjzby+w+NOeqTLPeQBzxZDxupAK88NbFDBMSIR/LBKE 3PfekFWeLBd+1+UP8S3yoBMRVFbIuIg/3cjHXRkBofV7d6jKzvMZDRn7IQ/3cJ1j+3DU xRNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=RNzrE8wz; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=3cowJjfP; 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 y22si3353672edt.51.2020.10.16.22.35.15; Fri, 16 Oct 2020 22:35:37 -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=RNzrE8wz; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=3cowJjfP; 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 S2409445AbgJPXJ6 (ORCPT + 99 others); Fri, 16 Oct 2020 19:09:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408364AbgJPXJs (ORCPT ); Fri, 16 Oct 2020 19:09:48 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0150C0613D5 for ; Fri, 16 Oct 2020 16:09:47 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1602889786; 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=cA4HbeG5F1/kkAuX6BXrrQBRE+JeZsIFauduiNTWrGw=; b=RNzrE8wzQHrE2DB0dNM9+GZsQsAQd6BWjIQLZ5fw/O/ynEcg06oJuUpqNvEfKeuy72r2uf mCP0D+MJF4rfVyv5RHklWgQ7zaFAqpIZi56QXlE3zN/ggIamWQ6UKNbW1yWbj9glyeA3DX L2/ltrDE7ywr9n9wfJ90qE2+vK3F2veVKc8H/oN784yACwrwq6uclWJ2lUH/yvFytsQKCB r6UnUiPZ2lKXgyVqAK5EZJ9jahoGudSjZX5UHicTbAwS9AL16ssXZXFNcZrjh2A+TFetsG y5gY9X06/lreOS0rtowN0ogpYhxMqa0TVtqa8jhAlyzqrlU3V6f8R92lcRzqWg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1602889786; 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=cA4HbeG5F1/kkAuX6BXrrQBRE+JeZsIFauduiNTWrGw=; b=3cowJjfPa/UmRjdjY/eQshugOr19LwaW4JzZ7BHeIMLSuXN1jCqjqI2rBjNqpWtzlTYns+ AOTOP8FELsfyoVCw== To: Jens Axboe Cc: "linux-kernel\@vger.kernel.org" Subject: Re: [PATCH] task_work: cleanup notification modes In-Reply-To: References: <93292d5b-9124-d252-c81f-1f2cfbd60e7b@kernel.dk> <87tuutalre.fsf@nanos.tec.linutronix.de> Date: Sat, 17 Oct 2020 01:09:46 +0200 Message-ID: <87zh4lix8l.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 16:39, Jens Axboe wrote: > On 10/16/20 3:44 PM, Thomas Gleixner wrote: >>> - * @notify: send the notification if true >>> + * @notify: send chosen notification, if any >> >> Is that really all you found to be wrong in that comment? > > There really is nothing wrong, but it's not very descriptive (wasn't > before either). * This is like the signal handler which runs in kernel mode, but it doesn't * try to wake up the @task. If find a lot of wrongs in that sentence in context of TWA_SIGNAL. Agreed, it was hard to understand before that, but with TWA_SIGNAL it does not make sense at all. Thanks, tglx