Thread (4 messages) flat view 4 messages, 3 authors, 2021-07-26

Re: [PATCH v3 1/2] mm: introduce process_mrelease system call

From: Michal Hocko <mhocko@suse.com>
Date: 2021-07-26 08:20:45
Also in: linux-mm, lkml

On Thu 22-07-21 19:03:56, Shakeel Butt wrote:
On Thu, Jul 22, 2021 at 6:14 PM Suren Baghdasaryan [off-list ref] wrote:
quoted
[...]
quoted
+
+       mmap_read_lock(mm);
How about mmap_read_trylock(mm) and return -EAGAIN on failure?
Btw. wether there is a non-blocking variant or not we should use
killable waiting to make sure the task calling into this is killable
by userspace (e.g. to implement a timeout based approach).
-- 
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