cvs commit: src/sys/kern imgact_elf.c kern_exec.c src/sys/sys imgact.h

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 10 17:10:49 PDT 2004


dillon      2004/04/10 17:10:34 PDT

DragonFly src repository

  Modified files:
    sys/kern             imgact_elf.c kern_exec.c 
    sys/sys              imgact.h 
  Log:
  Use the sf_buf facility rather then kmem_alloc_wait/pmap_kenter/kmem_free
  to map the first page of a binary into memory during an exec.  This results
  in 5-10% lower execl() overhead and approximately 2% lower sys time useage
  in a buildworld (~15-20 second build time reduction on an AMD64/3200+),
  with less code.  And its a nice cleanup as well.
  
  Patch-by: Alan Cox <alc at xxxxxxxxxxx>
  
  Revision  Changes    Path
  1.19      +1 -10     src/sys/kern/imgact_elf.c
  1.22      +13 -27    src/sys/kern/kern_exec.c
  1.6       +1 -1      src/sys/sys/imgact.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_elf.c.diff?r1=1.18&r2=1.19&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exec.c.diff?r1=1.21&r2=1.22&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/imgact.h.diff?r1=1.5&r2=1.6&f=h





More information about the Commits mailing list