cvs commit: src/sys/kern kern_descrip.c uipc_syscalls.c

David Malone dwmalone at FreeBSD.org
Mon Aug 4 14:28:59 PDT 2003


dwmalone    2003/08/04 14:28:57 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_descrip.c uipc_syscalls.c 
  Log:
  Do some minor Giant pushdown made possible by copyin, fget, fdrop,
  malloc and mbuf allocation all not requiring Giant.
  
  1) ostat, fstat and nfstat don't need Giant until they call fo_stat.
  2) accept can copyin the address length without grabbing Giant.
  3) sendit doesn't need Giant, so don't bother grabbing it until kern_sendit.
  4) move Giant grabbing from each indivitual recv* syscall to recvit.
  
  Revision  Changes    Path
  1.213     +6 -6      src/sys/kern/kern_descrip.c
  1.153     +8 -13     src/sys/kern/uipc_syscalls.c


More information about the cvs-src mailing list