Messages in this thread | | | Date | Tue, 01 Jul 2014 10:16:09 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH v9] mm: support madvise(MADV_FREE) |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/30/2014 08:36 PM, Minchan Kim wrote: > Linux doesn't have an ability to free pages lazy while other OS > already have been supported that named by madvise(MADV_FREE). > > The gain is clear that kernel can discard freed pages rather than > swapping out or OOM if memory pressure happens. > > Without memory pressure, freed pages would be reused by userspace > without another additional overhead(ex, page fault + allocation + > zeroing).
> Cc: Michael Kerrisk <mtk.manpages@gmail.com> Cc: Linux API > <linux-api@vger.kernel.org> Cc: Hugh Dickins <hughd@google.com> Cc: > Johannes Weiner <hannes@cmpxchg.org> Cc: Rik van Riel > <riel@redhat.com> Cc: KOSAKI Motohiro > <kosaki.motohiro@jp.fujitsu.com> Cc: Mel Gorman <mgorman@suse.de> > Cc: Jason Evans <je@fb.com> Cc: Zhang Yanfei > <zhangyanfei@cn.fujitsu.com> Signed-off-by: Minchan Kim > <minchan@kernel.org>
Acked-by: Rik van Riel <riel@redhat.com>
- -- All rights reversed -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTssKpAAoJEM553pKExN6DspUH/3fdn95zVIA6GGfmFG/g05Fm SYv82v0ee2gGM7yRGeVkFSVuj5qYCneyJeprERHBs43huafqqnWd9MMcZxxskNk7 MpyVmRsCh54qC2Y6Rqu5E15jEKjCcxss1vCbHp0ExtZHnfU29re+JB0oRE9IKszW p2r6rsolHtNY4otTAQ6pAtA6ioH1E0xppK5mpqHAUpFJuq3PqXbSsptFdl6AJciw 25zBB6iOdVgpciYwkn7yBvaZiY+sRuiRFSAH0klQVHlX0ZueIXYnJtybVhHSqGs/ Nu1/zhrRrohOcj0Ka6cTJBBH2RyXTmgcurfTUlI4IZzcDqJWtuXjXBty0wkhIZQ= =RjYx -----END PGP SIGNATURE-----
| |