This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/60931] libgo has issues when page size is not 4k
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Apr 2014 05:38:26 +0000
- Subject: [Bug go/60931] libgo has issues when page size is not 4k
- Auto-submitted: auto-generated
- References: <bug-60931-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Perhaps it would be better instead of not doing the madvise at all if start or
length isn't page aligned round the start to the next page boundary and end to
the previous page boundary and madvise if the rounded end is above the rounded
start.