sn...@epipe.com
unread,Feb 19, 2013, 11:27:21 PM2/19/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gofront...@googlegroups.com, ia...@golang.org, gofront...@googlegroups.com, re...@codereview-hr.appspotmail.com
On 2013/02/20 03:48:04, iant wrote:
> Don't we want to this for all SPARC systems, even those that are not
Solaris?
> E.g., SPARC GNU/Linux?
Good question but unfortunately I do not know. I only know that we need
this on Solaris AMD64 architecture. I do not have access to any SPARC
machine and my searches for "netbsd sparc virtual memory layout" and
likewise for Linux turned up nothing.
I was thinking that the virtual memory layout depends more on the OS
than the CPU architecture but of course it can depend on both. I was
assuming that the previous commit that added this #ifdef was made with
only Solaris in mind. I might be mistaken.
Would it be better to change it to the following? Then it does not
change any existing behavior on any other platforms than Solaris AMD64.
#if __SIZEOF_POINTER__ == 8 && (defined(__sparc__) || (defined(__sun__)
&& defined(__amd64__)))
https://codereview.appspot.com/7307127/