DragonFly BSD
DragonFly commits List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 10 Apr 2004 17:10:34 -0700 (PDT)

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 
  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@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


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]