All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Brauner <christian@brauner.io>
To: "Joel Fernandes (Google)" <joel@joelfernandes.org>
Cc: linux-kernel@vger.kernel.org, Al Viro <viro@zeniv.linux.org.uk>,
	Andrew Morton <akpm@linux-foundation.org>,
	Andy Lutomirski <luto@amacapital.net>,
	Arnd Bergmann <arnd@arndb.de>,
	Daniel Colascione <dancol@google.com>,
	David Howells <dhowells@redhat.com>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Ingo Molnar <mingo@kernel.org>, Jann Horn <jannh@google.com>,
	Jonathan Kowalski <bl0pbl33p@gmail.com>,
	Kees Cook <keescook@chromium.org>,
	kernel-team@android.com,
	KJ Tsanaktsidis <ktsanaktsidis@zendesk.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kselftest@vger.kernel.org, Michal Hocko <mhocko@suse.com>,
	Nadav Amit <namit@vmware.com>, Oleg Nesterov <oleg@redhat.com>,
	"Peter Zijlstra (Intel)" <peterz@infradead.org>,
	Serge Hallyn <serge@hallyn.com>, Shuah Khan <shuah@kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Tim Murray <timmurray@google.com>,
	Tycho Andersen <tycho@tycho.ws>
Subject: Re: [PATCH v2 2/2] Add selftests for pidfd polling
Date: Tue, 14 May 2019 17:17:08 +0200	[thread overview]
Message-ID: <20190514151706.fu7ehba6hsxnvfaf@brauner.io> (raw)
In-Reply-To: <20190430162154.61314-2-joel@joelfernandes.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) <joel@joelfernandes.org>

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

WARNING: multiple messages have this Message-ID (diff)
From: christian at brauner.io (Christian Brauner)
Subject: [PATCH v2 2/2] Add selftests for pidfd polling
Date: Tue, 14 May 2019 17:17:08 +0200	[thread overview]
Message-ID: <20190514151706.fu7ehba6hsxnvfaf@brauner.io> (raw)
In-Reply-To: <20190430162154.61314-2-joel@joelfernandes.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) <joel at joelfernandes.org>

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

WARNING: multiple messages have this Message-ID (diff)
From: christian@brauner.io (Christian Brauner)
Subject: [PATCH v2 2/2] Add selftests for pidfd polling
Date: Tue, 14 May 2019 17:17:08 +0200	[thread overview]
Message-ID: <20190514151706.fu7ehba6hsxnvfaf@brauner.io> (raw)
Message-ID: <20190514151708.EdL8aDnZJftPWvJXAHsVH4y6kGv6O7SYHZb2iOF0SLE@z> (raw)
In-Reply-To: <20190430162154.61314-2-joel@joelfernandes.org>

On Tue, Apr 30, 2019@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) <joel at joelfernandes.org>

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

  parent reply	other threads:[~2019-05-14 15:17 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-30 16:21 [PATCH v2 1/2] Add polling support to pidfd Joel Fernandes (Google)
2019-04-30 16:21 ` Joel Fernandes (Google)
2019-04-30 16:21 ` joel
2019-04-30 16:21 ` [PATCH v2 2/2] Add selftests for pidfd polling Joel Fernandes (Google)
2019-04-30 16:21   ` Joel Fernandes (Google)
2019-04-30 16:21   ` joel
2019-04-30 19:20   ` Christian Brauner
2019-04-30 19:20     ` Christian Brauner
2019-04-30 19:20     ` christian
2019-05-14 15:17   ` Christian Brauner [this message]
2019-05-14 15:17     ` Christian Brauner
2019-05-14 15:17     ` christian
2019-04-30 19:07 ` [PATCH v2 1/2] Add polling support to pidfd Christian Brauner
2019-04-30 19:07   ` Christian Brauner
2019-04-30 19:07   ` christian
2019-05-01 15:13 ` Oleg Nesterov
2019-05-01 15:13   ` Oleg Nesterov
2019-05-01 15:13   ` oleg
2019-05-02 15:13   ` Christian Brauner
2019-05-02 15:13     ` Christian Brauner
2019-05-02 15:13     ` christian
2019-05-02 16:02     ` Oleg Nesterov
2019-05-02 16:02       ` Oleg Nesterov
2019-05-02 16:02       ` oleg
2019-05-02 19:14       ` Joel Fernandes
2019-05-02 19:14         ` Joel Fernandes
2019-05-02 19:14         ` joel
2019-05-02 19:35         ` Christian Brauner
2019-05-02 19:35           ` Christian Brauner
2019-05-02 19:35           ` christian
2019-05-14 15:16       ` Christian Brauner
2019-05-14 15:16         ` Christian Brauner
2019-05-14 15:16         ` christian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190514151706.fu7ehba6hsxnvfaf@brauner.io \
    --to=christian@brauner.io \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=bl0pbl33p@gmail.com \
    --cc=dancol@google.com \
    --cc=dhowells@redhat.com \
    --cc=ebiederm@xmission.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jannh@google.com \
    --cc=joel@joelfernandes.org \
    --cc=keescook@chromium.org \
    --cc=kernel-team@android.com \
    --cc=ktsanaktsidis@zendesk.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=mhocko@suse.com \
    --cc=mingo@kernel.org \
    --cc=namit@vmware.com \
    --cc=oleg@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=serge@hallyn.com \
    --cc=shuah@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=timmurray@google.com \
    --cc=torvalds@linux-foundation.org \
    --cc=tycho@tycho.ws \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.