[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACdnJuup-y1xAO93wr+nr6ARacxJ9YXgaceQK9TLktE7shab1w@mail.gmail.com>
Date: Wed, 24 Apr 2019 13:22:32 -0700
From: Matthew Garrett <mjg59@...gle.com>
To: Matthew Wilcox <willy@...radead.org>
Cc: linux-mm@...ck.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm: Allow userland to request that the kernel clear
memory on release
On Wed, Apr 24, 2019 at 1:20 PM Matthew Wilcox <willy@...radead.org> wrote:
> It depends on the semantics you want. There's no legacy code to
> worry about here. I was seeing this as the equivalent of an atexit()
> handler; userspace is saying "When this page is unmapped, zero it".
> So it doesn't matter that somebody else might be able to reference it --
> userspace could have zeroed it themselves.
Mm ok that seems reasonable. I'll rework with that in mind.
Powered by blists - more mailing lists