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



On Wed, 30 Nov 2005, Jari Ruusu wrote:

> Benjamin LaHaise wrote:
> > The following emails contain the patches to convert x86-64 to store current
> > in r10 (also at http://www.kvack.org/~bcrl/patches/v2.6.15-rc3/).
> [snip]
> > No benchmarks that I am aware of show regressions with this change.
>
> Ben,
> 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.
>
> Andi,
> Please don't apply Ben's patch. It is already bad enough having to deal with
> two incompatible calling conventions on 32 bit x86.

Just for the sake of understanding the current kernel release
process, when would something like this be acceptable/possible?
Would it require a Linux 3.0 version, or at least a 2.8?

--
~Randy
-
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/



Relevant Pages

  • Re: [PATCH 0/9] x86-64 put current in r10
    ... Your patch breaks all out-of-tree amd64 assembler code used in kernel. ... register is one of those registers that does not need to be preserved across ... assembler code using r10 in kernel must be rewritten. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Another case of lockup using combination of devices (sound+net)
    ... key does not register. ... Disabling IO-APIC from kernel configuration apparently solved that, ... 0cf8-0cff: PCI conf1 ... # ACPI Support ...
    (Linux-Kernel)
  • Re: [PATCH 18-rc3] Fix typos in /Documentation : Q-R
    ... The driver will receive them again on the ... The kernel is entered with r3 pointing to an area of memory that is ... Bits are then right shifted into the GP_SAMPLE register at the specified ... you get an interrupt when a full DWORD is recieved. ...
    (Linux-Kernel)
  • 5GB instead of 6GB RAM using 2.6.5 x86_64 (amd)
    ... It is a custom compiled vanilla 2.6.5 kernel. ... Using ACPI for SMP configuration information ... number of MP IRQ sources: ...
    (Linux-Kernel)
  • Re: [patch 2.6.13-git] 8250 tweaks
    ... > is being asked to register two serial ports at MMIO ... port registering and finally picked out the "bug". ... I must confess that I am a stupid guy on kernel ... VFS: Mounted root (nfs filesystem). ...
    (Linux-Kernel)