the amd64 compiler reserves R14 and R15 for extern register declarations. these are used by the kernel for the mach and up pointers, but currently are not preserved during system calls.
would it make sense to save and restore the two registers on syscall entry/exit, so userspace programs could make use of them for per process data? -- cinap