clone-prepare-to-recycle-clone_detached-and-clone_stopped
commitb651e038c50f53c6a7597d93a33f79544ffbfd62
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Nov 2007 03:46:26 +0000 (9 03:46 +0000)
committerMatthias Urlichs <smurf@hera.kernel.org>
Wed, 14 Nov 2007 11:11:27 +0000 (14 11:11 +0000)
treea5472bf0efb06bd9d0186f6e254ef289d450153b
parentedb5cff220a65678e832b076dfe044174c5f5cce
clone-prepare-to-recycle-clone_detached-and-clone_stopped

Ulrich says that we never used these clone flags and that nothing should be
using them.

As we're down to only a single bit left in clone's flags argument, let's add a
warning to check that no userspace is actually using these.  Hopefully we will
be able to recycle them.

Roland said:

  CLONE_STOPPED was previously used by some NTPL versions when under
  thread_db (i.e.  only when being actively debugged by gdb), but not for a
  long time now, and it never worked reliably when it was used.  Removing it
  seems fine to me.

Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/fork.c