[parisc-linux] Question about cache flushing and fork

John David Anglin dave at hiauly1.hia.nrc.ca
Tue Dec 16 18:46:32 MST 2003


> OK.  Note also that the sp is supposed to always be 64-byte aligned...

That's not correct for 64 bits.  See page 15 of the "64-Bit Runtime
Architecture for PA-RISIC 2.0, Version 3.3".  The alignment specified
is 16 bytes.  This is also the case for the HP compilers that I have.
Thus, you can't assume that a stack frame starts at the beginning of
a cacheline in the 64-bit runtime.

Regarding the frame marker, there is a discrepancy between the size
of the frame marker mentioned in this document and that which HP
compilers generate (16 versus 48 bytes).

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