From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C4E4C04AB4 for ; Tue, 14 May 2019 15:17:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1B5B62085A for ; Tue, 14 May 2019 15:17:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=brauner.io header.i=@brauner.io header.b="MWKf30+c" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726515AbfENPRN (ORCPT ); Tue, 14 May 2019 11:17:13 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41127 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbfENPRN (ORCPT ); Tue, 14 May 2019 11:17:13 -0400 Received: by mail-wr1-f67.google.com with SMTP id d12so19637599wrm.8 for ; Tue, 14 May 2019 08:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brauner.io; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kIhiqSMek0R4jDQ4M9fJjcqpAO0J7pAlAP0TmoL3YBU=; b=MWKf30+ckK2l4pIoW7kmWtx0es9Q5LydNiOLlasRlMt5eVKvpCpZc1Db8FeOn/7Lca qBezESV/vORAvhPKmSV37sHHSK9cL3DplJpiDhpdjicctYGm3kw5k4Eh4qT4ukjCZXRw 8rpBWLBIXU7Zsz5fnrEvg5D3kl0yrssWtkueTsqB6u2hl5hq3S+uo5NVFQ9xcMVbaTkz QyNo/KspyptmClPv1NQdhYQlGUSmumdr8NwTJBp0m8TsbnugH49tZpIlkDTA6pLgxneX wuqZQZBdUcO3SgCnviUzoEIGYPmEb2dJco+lIwVACT+CTQnnSeZMqye7snSdWtlHPKOL nfLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kIhiqSMek0R4jDQ4M9fJjcqpAO0J7pAlAP0TmoL3YBU=; b=qoHpEH1bLWco8hZ6wF72lt6wQBXH5xZjEENGaOAbL1gYtRTlWtGVuUaypulao1/olB ZpbJb/v2/SP7skGt8dEOHlZUbSFpZ4UhPoMWi+zNLpbtSzOiVFZfudcxjSGcHZFehQRK d5cRXepzFTAkTbBQJBMVj+J1KpDpihvjP3tQT9eH5EQ5Y1bYHsKI7JX7WWqviFlhl58h Gc0EOL+GaH7OUW9RqEuiROxoYQAinmES1e1fz3ErtUCgxHL4Zy2jFKpI/qOQ/rnpxGZW hseQ8PhTC9N1Lk43qssMCzQU+acjSuT/dDThnUpF8fE1oQmquOI/sRFRR96anlhA/HvO Ohpg== X-Gm-Message-State: APjAAAVBdf3jNZcnttSAAfN9Mtfnr6SV7wvmGnxKL6r1WAXmQa9slQEV E6WBpCgbHpOgBbWQhuKsky9oAw== X-Google-Smtp-Source: APXvYqwCt7I6lKBbVuVId5vRnhcFO7AfYJ93Tx7KMbKIS0tzJIR8arNbE4x5QxA2wyowIBcK6cEJYg== X-Received: by 2002:adf:cf05:: with SMTP id o5mr6473204wrj.262.1557847031802; Tue, 14 May 2019 08:17:11 -0700 (PDT) Received: from brauner.io ([81.92.17.147]) by smtp.gmail.com with ESMTPSA id n2sm29139738wra.89.2019.05.14.08.17.09 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 14 May 2019 08:17:11 -0700 (PDT) Date: Tue, 14 May 2019 17:17:08 +0200 From: Christian Brauner To: "Joel Fernandes (Google)" Cc: linux-kernel@vger.kernel.org, Al Viro , Andrew Morton , Andy Lutomirski , Arnd Bergmann , Daniel Colascione , David Howells , "Eric W. Biederman" , Greg Kroah-Hartman , Ingo Molnar , Jann Horn , Jonathan Kowalski , Kees Cook , kernel-team@android.com, KJ Tsanaktsidis , Linus Torvalds , linux-kselftest@vger.kernel.org, Michal Hocko , Nadav Amit , Oleg Nesterov , "Peter Zijlstra (Intel)" , Serge Hallyn , Shuah Khan , Steven Rostedt , Thomas Gleixner , Tim Murray , Tycho Andersen Subject: Re: [PATCH v2 2/2] Add selftests for pidfd polling Message-ID: <20190514151706.fu7ehba6hsxnvfaf@brauner.io> References: <20190430162154.61314-1-joel@joelfernandes.org> <20190430162154.61314-2-joel@joelfernandes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190430162154.61314-2-joel@joelfernandes.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 30, 2019 at 12:21:54PM -0400, Joel Fernandes (Google) wrote: > Other than verifying pidfd based polling, the tests make sure that > wait semantics are preserved with the pidfd poll. Notably the 2 cases: > 1. If a thread group leader exits while threads still there, then no > pidfd poll notifcation should happen. > 2. If a non-thread group leader does an execve, then the thread group > leader is signaled to exit and is replaced with the execing thread > as the new leader, however the parent is not notified in this case. > > Signed-off-by: Joel Fernandes (Google) Applied to https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git/log/?h=for-next and targeted for the 5.3 merge window. Thank you all! Christian