[RFC][v6][PATCH 7/9]: Define do_fork_with_pids()

Sukadev Bhattiprolu sukadev at linux.vnet.ibm.com
Thu Sep 10 14:29:53 PDT 2009


Arnd Bergmann [arnd at arndb.de] wrote:
| On Thursday 10 September 2009, Sukadev Bhattiprolu wrote:
| > +long do_fork(unsigned long clone_flags,
| > +             unsigned long stack_start,
| > +             struct pt_regs *regs,
| > +             unsigned long stack_size,
| > +             int __user *parent_tidptr,
| > +             int __user *child_tidptr)
| > +{
| > +       return do_fork_with_pids(clone_flags, stack_start, regs, stack_size,
| > +                       parent_tidptr, child_tidptr, NULL);
| > +}
| > +
| 
| How about making this one a static inline in linux/sched.h?

Yes. I will inline do_fork().

Sukadev


More information about the Containers mailing list