Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5866301imm; Mon, 23 Jul 2018 07:24:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcRaojDo9JY2aUjC3D173Y6p6wyi/r7b5UPJ7tMRQ1PdswiDvqYUf1lNvWuGdjE8cXFCSq+ X-Received: by 2002:a62:c218:: with SMTP id l24-v6mr13574660pfg.185.1532355875712; Mon, 23 Jul 2018 07:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532355875; cv=none; d=google.com; s=arc-20160816; b=L3lTOEjwPkuVwehV135tJ1WBo7Ef07RcSGh8gsbupn3lgNLlQKrA5o46FZ2KlfvyT6 tRWRWJ8gCS1MZIkBsWjYe3OY4x6hR59cKneQdlxDXOCE/QZOlrgDRcyw3yngulXFZo97 zqqQjI657s7wwH9lvsD0wp5B15W9cfeOKqqhOrYM80z4CVShCyTm+XLpfjPiW+FhIK0p o/yi3QkKCUmXdIQqcC0y15FQDDD1FxRaVHF3VHone7HRdWcWx/qNVz6c5RhufVDysCFW 1Ewam1wTnJngofDcy8jdgt7tI4AIWS+XPfI3igPq2qTu43U7kiiStD+jtsW8OWGYMZt/ aYDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=LDkcVvOsMk5Z3sHAZy062SEUWhN2x/M8zYSOgLi0LZI=; b=oqsPTP+9O7CDGMK0Ppjh8qtqnI4vxNE2+j+KErZJHoB/Mzv7EjbLy4zaLZDMUOgSXB FawtbrxMuRWuYg3vALU2ZFGfKZmn3XdjDWo5IWCLUguYU0ZCA/aoVNxANB80blNQ6Duh sfeGgq0cOwQmWbu+Bm9jM6JlfqiNkNXfCqF7swErtE+hQ00fCDDnO8kZ7TI1yQFrrBy9 9K/UeDyAQmtodT/h6Gg9/Qc8BaIXAaAHK5zYlIDr+UvkUAN1xePGO3cJg4Gj2LCk41R8 B/rwavgiy3s9jR4e/7TrSwavt07wPx3F5VRVchIOO3ycdG84F+sbjVoWb534eTK8Epf6 OcJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1-v6si9096747pli.58.2018.07.23.07.24.20; Mon, 23 Jul 2018 07:24:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388385AbeGWPYl (ORCPT + 99 others); Mon, 23 Jul 2018 11:24:41 -0400 Received: from seldsegrel01.sonyericsson.com ([37.139.156.29]:19994 "EHLO SELDSEGREL01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388104AbeGWPYl (ORCPT ); Mon, 23 Jul 2018 11:24:41 -0400 Subject: Re: [PATCH RESEND] kthread, tracing: Don't expose half-written comm when creating kthreads To: Steven Rostedt CC: , Ingo Molnar , Jens Axboe , Tejun Heo , Greg Kroah-Hartman , Linus Torvalds , Peter Enderborg , Yoshitaka Seto , Oleksiy Avramchenko , KOSAKI Motohiro , John Stultz References: <20180723134210.54013-1-snild@sony.com> <20180723095550.08203a24@gandalf.local.home> From: Snild Dolkow Message-ID: <9d762b4e-20a7-578f-90c8-10a044921d67@sony.com> Date: Mon, 23 Jul 2018 16:23:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180723095550.08203a24@gandalf.local.home> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/23/2018 03:55 PM, Steven Rostedt wrote: > Can you add a comment here stating something to the affect of: > /* task is now visible to other tasks */ > > -- Steve Sure, but isn't that a bit misleading? It will have been visible since some unknown point in time between waking up kthreadd and the return of wait_for_completion(); we're not the ones making it visible. //Snild