[parisc-linux] [RFC] using 64bit wide registers with 32bit kernel

Jes Sorensen jes at sgi.com
Mon May 15 04:56:16 MDT 2006


Thibaut VARENE wrote:
> On 15 May 2006 05:10:15 -0400, Jes Sorensen <jes at sgi.com> wrote:
>> What about setting an ELF flag or somesuch, set a task flag based on
>> this and then only do the extended register file backup for these
>> apps?
> 
> If that's possible *and* acceptable, it might be very helpful indeed.

I don't know anything about the PARISC ELF specification, but I think
it ought to be feasible.

Alternatively, if you can trap the instruction so you get a kernel trap
the first time the user app tries to do this and then set the flag then.
Otherwise there is the problem that someone will do some hand tuned
assembly that uses the 64 bit regs and you end up with mocked up state
if this goes undetected.

Cheers,
Jes



More information about the parisc-linux mailing list