http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55975



--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-16 
10:38:01 UTC ---

Sounds like a recent change:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=048ee0993ec8360abb0b51bdf8f8721e9ed62ec4

The question is what to do about that on the libasan side.

Can we keep + (1ULL << 41) asan_shadow_offset for both 44-bit and 46-bit user

address spaces?  If we just increase kHighMemEnd to 0x00003fffffffffffUL, it

will mean that on older kernels half of the user address space will be the

shadow memory (from 0x20000000000 to 0x9ffffffffff).  Perhaps that is still

acceptable, but if ever the address space grows again, we'd need to make size

of shadow memory region and kHighMemEnd dynamic.

Reply via email to