Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patch

From: Jamie Lokier (jamie_at_shareable.org)
Date: 01/31/04

  • Next message: Jim Faulkner: "major network performance difference between 2.4 and 2.6.2-rc2"
    Date:	Sat, 31 Jan 2004 02:41:00 +0000
    To: "Eric W. Biederman" <ebiederm@xmission.com>
    
    

    Eric W. Biederman wrote:
    > With the x86-64 optimized vsyscall the syscall number does
    > not need to be placed into a register, because you have used
    > the proper entry point. For any syscall worth tuning in
    > user space I suspect that level of optimization would be
    > beneficial. A fast call path that does not waste a register.

    The cost of loading a constant into a register is _much_ lower than
    the cost of indirect jumps which we have been discussing.

    -- Jamie
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Jim Faulkner: "major network performance difference between 2.4 and 2.6.2-rc2"

    Relevant Pages

    • Re: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patch
      ... >> require that every single optimized syscall needs to be handled special. ... > will work with future kernel optimisations. ... A fast call path that does not waste a register. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 5/12] UML - S390 preparation, save an extra register
      ... s390 tt-mode needs to save not only syscall number, ... further register also. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: ptrace problem on ia64 with kernel 2.4.26
      ... > ddd, and other debugging tools, which depend on ptrace system call, don't ... > modification to peek info about register r4. ... > We use the following configuration: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3
      ... or cache flushes, or tlb flushes, or floating point. ... cache-related penalty for encoding the syscall number in the syscall ... the userspace programmer the use of the FPU in threadlets, ... it's a coprocessor register that is incorrectly emulated by ...
      (Linux-Kernel)
    • 64-bit syscall ABI issue
      ... When arguments of types narrower than a register are passed to a C ... passed an improperly extended value to a syscall, ... What should the kernel syscall ABI be in such cases (any case where the ... are narrower than registers and either extends ) or returns EINVAL ...
      (Linux-Kernel)