Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp773606pxf; Thu, 25 Mar 2021 13:46:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyI2ieq9GGP8NWRS8cwx1y+xWPDV6Sn1dvhCoACdG4sYAh9lDT70NIZv8VQSU3fUO8gq0h5 X-Received: by 2002:a17:906:7c4:: with SMTP id m4mr11717154ejc.63.1616705197383; Thu, 25 Mar 2021 13:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616705197; cv=none; d=google.com; s=arc-20160816; b=SJtWwuonlnO3fH+5wegCWDvWJQUeJ03TNlu80bCZJz2cyEQU4yDFcmlpKbxLBqsnvA w+DCI16X9BoKqbTfyLD7v/uZSWu8kqWEsRQs7PF3QEkYCwO4fHGMU6w8eUIoEhtbi/Dx BbLmZ5EtJW6zR6lIjQfGxN46ZVN/jSaQlJXasQl9Owvoj6ixBIX+Y3FNgj5D0zah0bPA MKyxKTo/GTl6wSkNgPsFtlD3ztRU+dw4XhdZigJp/odVXMN2G+NMg3Z5qx8l27ozU6Lk HEGQ37sBpoIfR87HRsfpEXqQ+o6joywX+0DIHVdQavb1Ej+Fiukr7Ph96B5McoX/Z04W aVPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=QRNZIFWxRM57bHTCCTJ1A2JvKV0FOZM1E6K3THZHiOg=; b=v2vLV8Fh2TMHE2ikc1FayyttyZqErC1TWh+Rr7rIY5UnVzltsfqvOnzSkK6N1G0X5I GP9BrY8Ol7I27VDA0f+R+PP0dm7kX4eqlES+Z99QVLV43idN5zvTR0aDBOznlVO6HkPe GzlcPbqADZFW0SdRhA4SvC5j1sB+7Hx1+LidiHDmIPAQYRIDAXMqG/yKMuMpofb83FQ+ Rvaiv2o41RLMA6T5gxHEcwiSRAqy4tK9LjwKcnisfqhjNqjEAJDJun/X4SaLddD18D/6 PVb6p0jTN/6ONWNh78GTwzcbK22YotwjmXZcuHInAtBFOvtdH2/wgzUZW01bonuU9X3w EiBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XtgqIXCD; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o21si5023240edc.377.2021.03.25.13.46.14; Thu, 25 Mar 2021 13:46: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=@redhat.com header.s=mimecast20190719 header.b=XtgqIXCD; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230335AbhCYUo4 (ORCPT + 99 others); Thu, 25 Mar 2021 16:44:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:36171 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230255AbhCYUoh (ORCPT ); Thu, 25 Mar 2021 16:44:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616705076; 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=QRNZIFWxRM57bHTCCTJ1A2JvKV0FOZM1E6K3THZHiOg=; b=XtgqIXCDRQ4k0XiTGuBB5GMh70S/LFVcBp41wF2e9DLBQWxWPCpgAwCFLjIlPclnCdbKx5 03dwmfNHe5pbY1OdODh0VY2kHOdojpLW+cLO51MdOVxt1Obk0oygdzRFCY2HT5hr9EDLK+ spj5eDJ9wZ8jfCsXUE9CETa+eU8Ez9Q= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-540-xis2Tf1rPa2feoa4YPKEnQ-1; Thu, 25 Mar 2021 16:44:34 -0400 X-MC-Unique: xis2Tf1rPa2feoa4YPKEnQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B265E88127C; Thu, 25 Mar 2021 20:44:33 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.40.192.41]) by smtp.corp.redhat.com (Postfix) with SMTP id 10BF813470; Thu, 25 Mar 2021 20:44:31 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 25 Mar 2021 21:44:33 +0100 (CET) Date: Thu, 25 Mar 2021 21:44:30 +0100 From: Oleg Nesterov To: Linus Torvalds Cc: "Eric W. Biederman" , Jens Axboe , io-uring , Linux Kernel Mailing List , Stefan Metzmacher Subject: Re: [PATCH 0/2] Don't show PF_IO_WORKER in /proc//task/ Message-ID: <20210325204430.GE28349@redhat.com> References: <20210325164343.807498-1-axboe@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/25, Linus Torvalds wrote: > > The whole "signals are very special for IO threads" thing has caused > so many problems, that maybe the solution is simply to _not_ make them > special? Or may be IO threads should not abuse CLONE_THREAD? Why does create_io_thread() abuse CLONE_THREAD ? One reason (I think) is that this implies SIGKILL when the process exits/execs, anything else? Oleg.