Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3142467yba; Tue, 16 Apr 2019 05:44:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUCZb6Mb+y84SEfL21UqAD4C5+N5DIXSESzLj2y9ECr8lLcAPSvWojgnPHY27gugMMq8Hq X-Received: by 2002:a62:8381:: with SMTP id h123mr83060523pfe.226.1555418698082; Tue, 16 Apr 2019 05:44:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555418698; cv=none; d=google.com; s=arc-20160816; b=rAmn9t4/ndMO7jk5LL/Y9/Va9bvbZChOFzwUbKmB0NhghIIhYUYKPcCbvstqXbaDhX TBSLxuehtpi75pGUh9+RcIYxidq8j7ofXU4cjHDF3a9V3hSINBViDnTU7xc27M0Dgjh3 uwE3ZtYaxpJLG488bgE3Ntvf9GD7BQZsKTN0kne+ida0/k+gdN9thG74ntySHzbPF5qX mZ2QgkBVC5TfLPdgdyFEMP5RLy9fwWoBZWd147ITCC0JSLB8St0q5jznYxX4opAeWRfd /PZraIEt0SSb9WKXjv86q8OM64Ts+QtTfloV2ShFJFjaFWLXE2Jfwr6AbVXiPehfx9Qh 6Chw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=MN3TYS30zAxc/fkex90W5KwV6qmyXsv4YYeVuKGws58=; b=I7Bgtt1g1rS6g7k9bn/Jox4AxbeXhozDJuQbbLTg3O4LCNzVjyLtfq21zHfyvogz91 gYCEGc4RTEiJI+uX5+WwjhSfmifTNL6ekA6KaHFIMLuDmRVFvhX6jBDKXrlSzpuNP80P OCVfyO+5b7xYNCd+0P+OhF6pgiGeZm/DD/jIjReFt0yKwUxYQ0jQAT0FcbfwP2vYzmca 0Vhc9bTMIaNS+HchgP1fX5lEe4H2o2EwZU+RF+sD8+rwPPTJxi/C2I+YqzZc1oeQtLj8 a48+b0HkMwVpankN1S5zQKdDMiv1a2K6838EmgDib4lP00ugVwUq+nD9f8ktwdjGwYGw Zcvg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si47992750pgr.158.2019.04.16.05.44.41; Tue, 16 Apr 2019 05:44:58 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729201AbfDPMnc (ORCPT + 99 others); Tue, 16 Apr 2019 08:43:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35834 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726907AbfDPMnc (ORCPT ); Tue, 16 Apr 2019 08:43:32 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0C4D5307E047; Tue, 16 Apr 2019 12:43:27 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.43.17.38]) by smtp.corp.redhat.com (Postfix) with SMTP id 12CA05D9D6; Tue, 16 Apr 2019 12:43:20 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Tue, 16 Apr 2019 14:43:26 +0200 (CEST) Date: Tue, 16 Apr 2019 14:43:20 +0200 From: Oleg Nesterov To: "Joel Fernandes (Google)" Cc: linux-kernel@vger.kernel.org, luto@amacapital.net, rostedt@goodmis.org, dancol@google.com, christian@brauner.io, jannh@google.com, surenb@google.com, torvalds@linux-foundation.org, Alexey Dobriyan , Al Viro , Andrei Vagin , Andrew Morton , Arnd Bergmann , "Eric W. Biederman" , Kees Cook , linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org, Michal Hocko , Nadav Amit , Serge Hallyn , Shuah Khan , Stephen Rothwell , Taehee Yoo , Tejun Heo , Thomas Gleixner , Tycho Andersen Subject: Re: [PATCH RFC 1/2] Add polling support to pidfd Message-ID: <20190416124320.GA24643@redhat.com> References: <20190411175043.31207-1-joel@joelfernandes.org> <20190416120430.GA15437@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190416120430.GA15437@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Tue, 16 Apr 2019 12:43:32 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/16, Oleg Nesterov wrote: > > And ->wait_pidfd should probably > live in task->signal_struct. but this will need the additional cleanup in free_signal_struct(), list_del(&sig->wait_pidfd->head). Oleg.