Thread (29 messages) 29 messages, 5 authors, 2024-10-28

Re: [PATCH v3 3/5] mm: madvise: implement lightweight guard page mechanism

From: Lorenzo Stoakes <hidden>
Date: 2024-10-24 07:26:44
Also in: linux-alpha, linux-arch, linux-kselftest, linux-mips, linux-mm, lkml

On Wed, Oct 23, 2024 at 04:12:05PM -0700, Andrew Morton wrote:
On Wed, 23 Oct 2024 17:24:40 +0100 Lorenzo Stoakes [off-list ref] wrote:
quoted
We permit this operation on anonymous memory only
What is the reason for this restriction?
At this stage it's a simplification as there are numerous issues that would
need to be overcome to support file-backed mappings.

I actually do plan to extend this work to support shmem and file-backed
mappings in the future as a revision to this work.
(generally, it would be nice to include the proposed manpage update at
this time, so people can review it while the code change is fresh in
their minds)
It'd be nice to have the man pages live somewhere within the kernel so we
can do this as part of the patch change as things evolve during review, but
obviously moving things about like that is out of scope for this discussion
:)

I do explicitly intend to send a manpage update once this series lands
however.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help