[Bug go/60931] libgo has issues when page size is not 4k

2014-04-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 --- Comment #1 from Andrew Pinski --- This is going to be true on AARCH64 also where most distros are going to be using 64k pages (some might use 4k pages if they also support AARCH32). MIPS has many different page sizes too (4k, 8k, 16k, 32k, an

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-23 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 --- Comment #2 from Anton Blanchard --- I agree, but when I tried this I found a few places that expect PageSize to be a compile time constant so it is not as trivial as I had hoped.

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-23 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 --- Comment #3 from Ian Lance Taylor --- It would be extremely helpful if you could find a test case that can recreate this problem with some reliability. There is no obvious dependency on the system page size in libgo. The PageSize constant is

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-23 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 Anton Blanchard changed: What|Removed |Added Attachment #32659|0 |1 is obsolete|

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-23 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 --- Comment #5 from Anton Blanchard --- I think I see it: 19112 madvise(0xc21103, 4096, MADV_DONTNEED) = 0 That 4kB madvise(MADV_DONTNEED) gets rounded up to the system page size of 64kB and we end up covering still in use memory. The follo

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6 f

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-24 Thread anton at samba dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 Anton Blanchard changed: What|Removed |Added Attachment #32669|0 |1 is obsolete|

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-24 Thread ian at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 --- Comment #8 from ian at gcc dot gnu.org --- Author: ian Date: Fri Apr 25 04:28:48 2014 New Revision: 209776 URL: http://gcc.gnu.org/viewcvs?rev=209776&root=gcc&view=rev Log: PR go/60931 runtime: Fix garbage collector issue with non 4kB sy

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-24 Thread ian at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 --- Comment #9 from ian at gcc dot gnu.org --- Author: ian Date: Fri Apr 25 04:29:07 2014 New Revision: 209777 URL: http://gcc.gnu.org/viewcvs?rev=209777&root=gcc&view=rev Log: PR go/60931 runtime: Fix garbage collector issue with non 4kB sy

[Bug go/60931] libgo has issues when page size is not 4k

2014-04-24 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---