Thread (15 messages) 15 messages, 4 authors, 2019-04-29

Re: [PATCH V2] mm: Allow userland to request that the kernel clear memory on release

flat view

From: Michal Hocko <mhocko@kernel.org>
Date: 2019-04-26 05:25:24
Also in: linux-mm, lkml

On Thu 25-04-19 13:39:01, Matthew Garrett wrote:
On Thu, Apr 25, 2019 at 5:37 AM Michal Hocko [off-list ref] wrote:
quoted
Besides that you inherently assume that the user would do mlock because
you do not try to wipe the swap content. Is this intentional?
Yes, given MADV_DONTDUMP doesn't imply mlock I thought it'd be more
consistent to keep those independent.
Do we want to fail madvise call on VMAs that are not mlocked then? What
if the munlock happens later after the madvise is called?

-- 
Michal Hocko
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help