Re: Unreclaimed swap space upon process termination?

2016-11-29 Thread Thomas Schwinge
Hi! On Mon, 28 Nov 2016 19:55:20 +0100, Samuel Thibault wrote: > Thomas Schwinge, on Mon 28 Nov 2016 17:10:26 +0100, wrote: > > ..., but on the new ("bad") system, the first non-sensical (huge; > > -2147479552 is 0x80001000) vm_allocate call actually succeeds: > > Yes, the userland address spac

Re: Unreclaimed swap space upon process termination?

2016-11-29 Thread Richard Braun
On Tue, Nov 29, 2016 at 10:11:34AM +0100, Thomas Schwinge wrote: > Early after a system reboot (second run of the executable), I ran into a > GNU Mach "panic ../vm/vm_page.c:2058: vm_page_evict: vm_page: unable to > recycle any page"; see attached. As this is new code in GNU Mach (commit > 5d12584

Usage of std::string's max_size in the testsuite

2016-11-29 Thread Thomas Schwinge
Hi! 32-bit x86 GNU/Hurd recently switched from 2 GiB/2 GiB user/kernel address space to a 3 GiB/1 GiB split. After that, I see test cases like libstdc++-v3/testsuite/21_strings/basic_string/modifiers/insert/char/1.cc allocate huge amounts of memory. Looking into this, this is coming from: [