|
|
Subscribe / Log in / New account

droppable sounds great

droppable sounds great

Posted Jul 5, 2024 9:01 UTC (Fri) by skissane (subscriber, #38675)
In reply to: droppable sounds great by jtaylor
Parent article: Another try for getrandom() in the vDSO

See this patch https://lore.kernel.org/linux-mm/20240703183115.1075219-2...

The difference in semantics with MADV_FREE is explained in the comments on the last file in the patch (mm/rmap.c):

1. "Unlike MADV_FREE mappings, VM_DROPPABLE ones can be dropped even if they've been dirtied."
2. "Unlike MADV_FREE mappings, VM_DROPPABLE ones never get swap backed on failure to drop."


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds