Re: Implement ggc_trim

2019-10-18 Thread Jakub Jelinek
On Fri, Oct 11, 2019 at 09:03:53AM +0200, Jan Hubicka wrote: > Bootstrapped/regtested x86_64-linux, OK? > > * ggc-page.c (release_pages): Output statistics when !quiet_flag. > (ggc_collect): Dump later to not interfere with release_page dump. > (ggc_trim): New function. > *

Re: Implement ggc_trim

2019-10-11 Thread Richard Biener
On October 11, 2019 9:03:53 AM GMT+02:00, Jan Hubicka wrote: >Hi, >this patch adds ggc_trim that releases free pages used by GGC memory >to system. This is useful to reduce memory footprint of WPA streaming: >WPA streaming ought to not use any more GGC memory (patches in testing >for that) and tr

Implement ggc_trim

2019-10-11 Thread Jan Hubicka
Hi, this patch adds ggc_trim that releases free pages used by GGC memory to system. This is useful to reduce memory footprint of WPA streaming: WPA streaming ought to not use any more GGC memory (patches in testing for that) and trimming the memory makes it available to fork&malloc used by stream