]> Git Repo - linux.git/commit
clone: prepare to recycle CLONE_STOPPED
authorAndrew Morton <[email protected]>
Tue, 5 Feb 2008 06:27:22 +0000 (22:27 -0800)
committerLinus Torvalds <[email protected]>
Tue, 5 Feb 2008 17:44:07 +0000 (09:44 -0800)
commitbdff746a3915f109bd13730b6847e33e17e91ed3
treebacc8edf83f06c4366cbb43fa21213e0a346a6f2
parent59714d65dfbc86d5cb93adc5bac57a921cc2fa84
clone: prepare to recycle CLONE_STOPPED

Ulrich says that we never used this clone flags and that nothing should be
using it.

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 it.  Hopefully we will
be able to recycle it.

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.

[[email protected]: it looks like CLONE_DETACHED is being used]
Cc: Ulrich Drepper <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Roland McGrath <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/fork.c
This page took 0.053327 seconds and 4 git commands to generate.