Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3567303pxf; Mon, 22 Mar 2021 09:22:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXxQgWUMKQOEudYrwdwauVOEU+k3jmIEHtPBoytawxZVlH9glNaEMtcQwqJxoljHOJ2InM X-Received: by 2002:a05:6402:38f:: with SMTP id o15mr315317edv.361.1616430141148; Mon, 22 Mar 2021 09:22:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616430141; cv=none; d=google.com; s=arc-20160816; b=mmkjs5rO6jXhswYoqLPSUwy/Cg4VLvTkiN0mJTcQ5Jqrbyy83Nrzwnt0jGdW3xKABu u+t/U8rQmj+Bf7bAvp3CCExibNGU8jH3KJ3d8014eHEQQszKBnF3Ok4B0kEeMPAKcb7z b3b16dil2tlNvne3/NOJyhiRLFWusB1m8jVp3+VoGhmIhZuPDLZoUEYL/vuL8X2+uGQM Vs3k4hRsRq1JV+fpCSP0MQuwyub01RnUDXHbG1yn5JkObWhvUFvHmFllpSCz0XdEFcxv s0VDVhEo2z+ooTjFltLxMGVc+ZiqYX+3f4zHMYQGi1xujS7woB16qyMiKQpfRtXas129 CViQ== 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=i5OZl+2uG3qd5KjzQMzycc1zUhTUOaFHbDQTpG9xOvc=; b=FCTwwB8gMtxOUq8r1hkH3v1Y5V6ntcPJp0PKmhBXFyN+I/Q2qG4yS08TFz23jiSQRi KSBCCnQsWIWrw8yQmqWfNYEGVtSTWBmIxP+V4PsQF/3LxO4kwnBuil4pIBSpbODGqDKF XEeSA3VS3uTaYVgHbKzq7s3eq11Dl4mrjEWTla1urXi3avSW1EjuOydpk5a2lxwGB9z2 gTl16m8ejWujRM+MbF8F40y/9C/R/zvj1G11FyNOuNB9jV9l4XkYTy94+d7j9VeH5wHA 3tC3jPWAFLNzNqk+zucJtrpG8F0HP1S2f5GlPDoe/15HIk0LACTFsN+mD8kYQnChA0Ov aZ9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YPQWy7Ri; 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 c25si11593085edw.293.2021.03.22.09.21.58; Mon, 22 Mar 2021 09:22:21 -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=YPQWy7Ri; 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 S231610AbhCVQS4 (ORCPT + 99 others); Mon, 22 Mar 2021 12:18:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:56898 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231626AbhCVQSa (ORCPT ); Mon, 22 Mar 2021 12:18:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616429909; 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=i5OZl+2uG3qd5KjzQMzycc1zUhTUOaFHbDQTpG9xOvc=; b=YPQWy7RiWrSQ84GUsoPNWAssobf5RwLsgA9twwDowp1BDwq+WKQEDrRm635zepBCF5GoZI potBOyuFoVvymwBBlaN4QiKEmmTnjjhH7YlEukewlvXTVV9njsFERG7Krw2q4W8B0Tkz93 ubC0csPNZY7d5pzUnTfBR1JSNfptJS4= 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-488-KLWOxJSgNQazoZUoCy9bjw-1; Mon, 22 Mar 2021 12:18:27 -0400 X-MC-Unique: KLWOxJSgNQazoZUoCy9bjw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 45A6785EE8B; Mon, 22 Mar 2021 16:18:26 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.40.194.114]) by smtp.corp.redhat.com (Postfix) with SMTP id 540E160C0F; Mon, 22 Mar 2021 16:18:24 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Mon, 22 Mar 2021 17:18:25 +0100 (CET) Date: Mon, 22 Mar 2021 17:18:23 +0100 From: Oleg Nesterov To: "Eric W. Biederman" Cc: Jens Axboe , io-uring@vger.kernel.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, Stefan Metzmacher Subject: Re: [PATCH 2/2] signal: don't allow STOP on PF_IO_WORKER threads Message-ID: <20210322161822.GC20390@redhat.com> References: <20210320153832.1033687-1-axboe@kernel.dk> <20210320153832.1033687-3-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.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/20, Eric W. Biederman wrote: > > But please tell me why is it not the right thing to have the io_uring > helper threads stop? Why is it ok for that process to go on consuming > cpu resources in a non-stoppable way. Yes, I have the same question ;) Oleg.