Re: [PATCH 0/9] x86-64 put current in r10

From: Andi Kleen (ak_at_suse.de)
Date: 11/30/05

  • Next message: Luca: "Re: unable to use dpkg 2.6.15-rc2"
    Date:	Wed, 30 Nov 2005 13:45:09 +0100
    To: Jari Ruusu <jariruusu@users.sourceforge.net>
    
    

    > Your patch breaks all out-of-tree amd64 assembler code used in kernel. r10
    > register is one of those registers that does not need to be preserved across
    > function calls, and reserving that register for other purpose means that all
    > assembler code using r10 in kernel must be rewritten. This is deeply
    > unfunny.

    Well, the changes should be minor.

    >
    > Please don't apply Ben's patch. It is already bad enough having to deal with
    > two incompatible calling conventions on 32 bit x86.

    43KB .text savings are hard to argue against. There is no guarantee
    for a stable kernel ABI. If you maintain out of tree code you
    will need to live with the occasional changes.

    -Andi
    -
    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: Luca: "Re: unable to use dpkg 2.6.15-rc2"

    Relevant Pages

    • 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 2.6] Altix - ioc3 serial support
      ... ports, and for console ports, it is assumed that the console code has ... >> tty_buffer_request_room is a hint to help the kernel manage buffers>> better. ... register for this. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [PATCH] S3 suspend/resume with noexec
      ... >>Please analyse surrounding code a bit more. ... > and restore every register that is being touched here. ... I'd like minimal push/pops. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: modprobe + request_module() deadlock
      ... or mxb) so that these are loaded via hotplug. ... They then register to the ... saa7146 core as an "extension" module, and the core then does the probing. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: FEATURE REQUEST: Specific Processor Optimizations on x86 Architecture
      ... The current code also does not touch any register. ... The wmb() change is not needed, unless you have an oostore CPU ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)