Thread (12 messages) 12 messages, 3 authors, 2019-05-28

Re: [PATCH RFC] mm/madvise: implement MADV_STOCKPILE (kswapd from user space)

flat view

From: Michal Hocko <mhocko@kernel.org>
Date: 2019-05-27 14:22:00
Also in: linux-mm, lkml

On Mon 27-05-19 16:12:23, Michal Hocko wrote:
[Cc linux-api. Please always cc this list when proposing a new user
 visible api. Keeping the rest of the email intact for reference]

On Mon 27-05-19 13:05:58, Konstantin Khlebnikov wrote:
[...]
quoted
This implements manual kswapd-style memory reclaim initiated by userspace.
It reclaims both physical memory and cgroup pages. It works in context of
task who calls syscall madvise thus cpu time is accounted correctly.
I do not follow. Does this mean that the madvise always reclaims from
the memcg the process is member of?
-- 
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