cvs commit: src/sys/kern kern_exec.c

Christian S.J. Peron csjp at FreeBSD.org
Tue Aug 12 21:27:59 UTC 2008


csjp        2008-08-12 21:27:48 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_exec.c 
  Log:
  SVN rev 181647 on 2008-08-12 21:27:48Z by csjp
  
  Reduce the scope of the vnode lock such that it does not cover
  the various copyouts associated with initializing the process's
  argv/env data in userspace.  It is possible that these copyout
  operations can fault under memory pressure, possibly resulting
  in dead locks.  This is believed to be safe since none of the
  copyout_strings() operations need to interact with the vnode here.
  
  Submitted by:   Zhouyi Zhou
  PR:             kern/111260
  Discussed with: kib
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.321     +5 -1      src/sys/kern/kern_exec.c


More information about the cvs-src mailing list