Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2917688pxj; Mon, 14 Jun 2021 10:03:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyoL3DfIUV+3jPLgbegehnqS3h4rmbVF51y0iMRl6NseQnwH6vUxIJSf7Gu/TFaCRgyh86 X-Received: by 2002:aa7:d74b:: with SMTP id a11mr18113387eds.95.1623690195721; Mon, 14 Jun 2021 10:03:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623690195; cv=none; d=google.com; s=arc-20160816; b=AR5uhphyAG/PVOipr3E+rwdyNtKOmWb4ezLiDKV9qpC6Uq0TsBa9998oz1sN+6QnbF re4L/TOetP0bcnGpyUMtQmxuMt3Yu+X1GFY1LgSybybAOzcB+4DmqZ8Yw4kSRdE98M3Q bTBgFJw1bai6JQE0DpdaDiR9S7T7GKqd/oWUrVjzADDwS9GfbpQq5Elj6xF45fdtI36H NNmWfsdpyjkbCRkmrEAHuk3YLE7ZAIILkjPAnmv44u7ag6Vr08orYAiYU4P9sS85MXO+ ae4k9xvvKeCobOgppsZXt6cKf/LqCrd+2zrZrIVRi40IMqcJhsAiuECfYWR8XhK0iodp Rn2Q== 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=A1DiCAo4wwoXOYCvkCpDxMFPghUwqg5DmekoJo7gNLs=; b=hVuO3KPKho72Qkvyz9TaxTf7VH9XD3kFWr03IUv0ICk7IQDAchdX6QPPrIP683BgVm R3R7m9nwulgj+M4xA2N1CPw6V4D/xEczeydYza5vAd8oZtfQRHne4kuv3u+pJ/ZrRvKI 9h5XxtHopcwyBjRjQfris06exOM64+ClIQjejaX6dOP70Bh5a9fL0sWE5yayGMVQCpnI pddTwHgde6Q2cJfb+u5bvX3x7ZuudXy7krOFFOH144J1UvrXlB9XX7HLBMphKshIZGBG X4ir5+7pGJo8/aeP/0QltARwIruod+LIX2N8vJ9J6RRJdrhz5pDLHfFDJyTVZsByILjB /nPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LscqaFy+; 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 6si1674321ejr.201.2021.06.14.10.02.51; Mon, 14 Jun 2021 10:03:15 -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=LscqaFy+; 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 S234963AbhFNRBf (ORCPT + 99 others); Mon, 14 Jun 2021 13:01:35 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:46925 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233606AbhFNRBd (ORCPT ); Mon, 14 Jun 2021 13:01:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623689970; 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=A1DiCAo4wwoXOYCvkCpDxMFPghUwqg5DmekoJo7gNLs=; b=LscqaFy+VDwHmV7SYAbkRbnopWGuotkDYhJQVMyB5q8jfHDwSMV88rt7eIggPQ39tkTxQD 0kwnKb5z5bQpNyYTcpoVP79pZ30IMWob7zE2D8+5IzEYaBkHC64fFxfF2OZ7j0tAS/L9q7 PE4qW+2nlA1eWGWQz0UsXmdgxLK9sxQ= 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-564-DvzPQ2bSMkywCqnS2oZ3RQ-1; Mon, 14 Jun 2021 12:59:26 -0400 X-MC-Unique: DvzPQ2bSMkywCqnS2oZ3RQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2A11A10B7462; Mon, 14 Jun 2021 16:59:25 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.40.192.47]) by smtp.corp.redhat.com (Postfix) with SMTP id DEF2810023B5; Mon, 14 Jun 2021 16:59:22 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Mon, 14 Jun 2021 18:59:24 +0200 (CEST) Date: Mon, 14 Jun 2021 18:59:21 +0200 From: Oleg Nesterov To: "Eric W. Biederman" Cc: Linus Torvalds , Olivier Langlois , Linux Kernel Mailing List , linux-fsdevel , io-uring , Alexander Viro , Jens Axboe , "Pavel Begunkov>" Subject: Re: [PATCH] coredump: Limit what can interrupt coredumps Message-ID: <20210614165920.GD13677@redhat.com> References: <87eeda7nqe.fsf@disp2133> <87pmwt6biw.fsf@disp2133> <87czst5yxh.fsf_-_@disp2133> <87y2bh4jg5.fsf@disp2133> <87sg1p4h0g.fsf_-_@disp2133> <20210614141032.GA13677@redhat.com> <87o8c8tnae.fsf@disp2133> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87o8c8tnae.fsf@disp2133> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/14, Eric W. Biederman wrote: > > I would very much like some clarity on TIF_NOTIFY_SIGNAL. At the very > least it would be nice if it could get renamed TIF_NOTIFY_TASK_WORK. No, no, no ;) I think that, for example, freezer should be changed to use set_notify_signal() rather than fake_signal_wake_up(). Livepatch. And probably it will have more users. > I don't understand the logic with well enough of adding work to > non-io_uring threads with task_work_add to understand why that happens > in the first place. Same here. Oleg.