[parisc-linux] Re:[parisc-linux-cvs] linux-2.6 kyle
John David Anglin
dave at hiauly1.hia.nrc.ca
Tue Aug 1 10:01:58 MDT 2006
> > > + struct pt_regs r2 = *r;
> >
> > Is this really wise? pt_regs is *huge* -- 472 bytes on 32-bit and 688
> > bytes on 64-bit.
> >
>
> Not so bad when you consider we have 16K stack. IIRC, I committed
> a change to traps.c to not kmalloc but instead put pt_regs on the
> stack. If x86-64 can get by with an 8K stack, I think we're fine
> with a 16K stack on 64bit. (Though I really want 8K or 16K page
> size...)
It might be better to use memcpy.
Dave
--
J. David Anglin dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the parisc-linux
mailing list