cvs commit: src/test/sysperf upcall.S src/sys/sys signalvar.h upcall.h src/sys/kern kern_upcall.c src/sys/i386/i386 machdep.c src/lib/libc/sys upc_register.2

Matthew Dillon dillon at
Fri Nov 21 00:33:46 PST 2003

dillon      2003/11/21 00:32:49 PST

DragonFly src repository

  Modified files:
    test/sysperf         upcall.S 
    sys/sys              signalvar.h upcall.h 
    sys/kern             kern_upcall.c 
    sys/i386/i386        machdep.c 
    lib/libc/sys         upc_register.2 
  Tweak the context data a bit and do some code cleanup.  Save %edx as well
  as %eax and %ecx so we can throw the upcall pointer into %edx, which makes
  it possible to create self-contained context assembly code.  This also
  improves performance by giving the context assembly (see
  src/test/sysperf/upcall.S) easier access to the upcall structure.
  It's also safer (though not critical) to have the kernel save all the
  call-used registers when setting up for an upcall.
  Revision  Changes    Path
  1.2       +8 -4      src/test/sysperf/upcall.S
  1.9       +1 -1      src/sys/sys/signalvar.h
  1.3       +0 -1      src/sys/sys/upcall.h
  1.2       +1 -1      src/sys/kern/kern_upcall.c
  1.46      +8 -2      src/sys/i386/i386/machdep.c
  1.2       +14 -10    src/lib/libc/sys/upc_register.2

More information about the Commits mailing list