Re: [PATCHSET] mm, memcontrol: Implement memory.swap.events
On Thu, Apr 12, 2018 at 04:13:45PM +0200, Michal Hocko wrote: > Hi Tejun, > sorry for the late response. Are you plannig to repost? Yeah, will do later. Thanks. -- tejun
Re: [PATCHSET] mm, memcontrol: Implement memory.swap.events
On Thu, Apr 12, 2018 at 04:13:45PM +0200, Michal Hocko wrote: > Hi Tejun, > sorry for the late response. Are you plannig to repost? Yeah, will do later. Thanks. -- tejun
Re: [PATCHSET] mm, memcontrol: Implement memory.swap.events
Hi Tejun, sorry for the late response. Are you plannig to repost? On Sat 24-03-18 09:51:25, Tejun Heo wrote: > Hello, > > This patchset implements memory.swap.events which contains max and > fail events so that userland can monitor and respond to swap running > out. It contains the following two patches. > > 0001-mm-memcontrol-Move-swap-charge-handling-into-get_swa.patch > 0002-mm-memcontrol-Implement-memory.swap.events.patch > > This patchset is on top of the "cgroup/for-4.17: Make cgroup_rstat > available to controllers" patchset[1] and "mm, memcontrol: Make > cgroup_rstat available to controllers" patchset[2] and also available > in the following git branch. > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > review-memcg-swap.events > > diffstat follows. > > Documentation/cgroup-v2.txt | 16 > include/linux/memcontrol.h |5 + > mm/memcontrol.c | 25 + > mm/shmem.c |4 > mm/swap_slots.c | 10 +++--- > mm/swap_state.c |3 --- > 6 files changed, 53 insertions(+), 10 deletions(-) > > Thanks. > > -- > tejun > > [1] http://lkml.kernel.org/r/20180323231313.1254142-1...@kernel.org > [2] http://lkml.kernel.org/r/20180324160901.512135-1...@kernel.org -- Michal Hocko SUSE Labs
Re: [PATCHSET] mm, memcontrol: Implement memory.swap.events
Hi Tejun, sorry for the late response. Are you plannig to repost? On Sat 24-03-18 09:51:25, Tejun Heo wrote: > Hello, > > This patchset implements memory.swap.events which contains max and > fail events so that userland can monitor and respond to swap running > out. It contains the following two patches. > > 0001-mm-memcontrol-Move-swap-charge-handling-into-get_swa.patch > 0002-mm-memcontrol-Implement-memory.swap.events.patch > > This patchset is on top of the "cgroup/for-4.17: Make cgroup_rstat > available to controllers" patchset[1] and "mm, memcontrol: Make > cgroup_rstat available to controllers" patchset[2] and also available > in the following git branch. > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > review-memcg-swap.events > > diffstat follows. > > Documentation/cgroup-v2.txt | 16 > include/linux/memcontrol.h |5 + > mm/memcontrol.c | 25 + > mm/shmem.c |4 > mm/swap_slots.c | 10 +++--- > mm/swap_state.c |3 --- > 6 files changed, 53 insertions(+), 10 deletions(-) > > Thanks. > > -- > tejun > > [1] http://lkml.kernel.org/r/20180323231313.1254142-1...@kernel.org > [2] http://lkml.kernel.org/r/20180324160901.512135-1...@kernel.org -- Michal Hocko SUSE Labs
Re: [PATCHSET] mm, memcontrol: Implement memory.swap.events
On Mon, Mar 26, 2018 at 02:39:31PM -0700, Andrew Morton wrote: > On Sat, 24 Mar 2018 09:51:25 -0700 Tejun Heowrote: > > > This patchset implements memory.swap.events which contains max and > > fail events so that userland can monitor and respond to swap running > > out. It contains the following two patches. > > > > 0001-mm-memcontrol-Move-swap-charge-handling-into-get_swa.patch > > 0002-mm-memcontrol-Implement-memory.swap.events.patch > > > > This patchset is on top of the "cgroup/for-4.17: Make cgroup_rstat > > available to controllers" patchset[1] and "mm, memcontrol: Make > > cgroup_rstat available to controllers" patchset[2] and also available > > in the following git branch. > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > > review-memcg-swap.events > > This doesn't appear to be in linux-next yet. It should be by now if it's > targeted at 4.17? You're right. It's too late for 4.17. Let's aim for 4.18. Thanks. -- tejun
Re: [PATCHSET] mm, memcontrol: Implement memory.swap.events
On Mon, Mar 26, 2018 at 02:39:31PM -0700, Andrew Morton wrote: > On Sat, 24 Mar 2018 09:51:25 -0700 Tejun Heo wrote: > > > This patchset implements memory.swap.events which contains max and > > fail events so that userland can monitor and respond to swap running > > out. It contains the following two patches. > > > > 0001-mm-memcontrol-Move-swap-charge-handling-into-get_swa.patch > > 0002-mm-memcontrol-Implement-memory.swap.events.patch > > > > This patchset is on top of the "cgroup/for-4.17: Make cgroup_rstat > > available to controllers" patchset[1] and "mm, memcontrol: Make > > cgroup_rstat available to controllers" patchset[2] and also available > > in the following git branch. > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > > review-memcg-swap.events > > This doesn't appear to be in linux-next yet. It should be by now if it's > targeted at 4.17? You're right. It's too late for 4.17. Let's aim for 4.18. Thanks. -- tejun
Re: [PATCHSET] mm, memcontrol: Implement memory.swap.events
On Sat, 24 Mar 2018 09:51:25 -0700 Tejun Heowrote: > This patchset implements memory.swap.events which contains max and > fail events so that userland can monitor and respond to swap running > out. It contains the following two patches. > > 0001-mm-memcontrol-Move-swap-charge-handling-into-get_swa.patch > 0002-mm-memcontrol-Implement-memory.swap.events.patch > > This patchset is on top of the "cgroup/for-4.17: Make cgroup_rstat > available to controllers" patchset[1] and "mm, memcontrol: Make > cgroup_rstat available to controllers" patchset[2] and also available > in the following git branch. > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > review-memcg-swap.events This doesn't appear to be in linux-next yet. It should be by now if it's targeted at 4.17?
Re: [PATCHSET] mm, memcontrol: Implement memory.swap.events
On Sat, 24 Mar 2018 09:51:25 -0700 Tejun Heo wrote: > This patchset implements memory.swap.events which contains max and > fail events so that userland can monitor and respond to swap running > out. It contains the following two patches. > > 0001-mm-memcontrol-Move-swap-charge-handling-into-get_swa.patch > 0002-mm-memcontrol-Implement-memory.swap.events.patch > > This patchset is on top of the "cgroup/for-4.17: Make cgroup_rstat > available to controllers" patchset[1] and "mm, memcontrol: Make > cgroup_rstat available to controllers" patchset[2] and also available > in the following git branch. > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > review-memcg-swap.events This doesn't appear to be in linux-next yet. It should be by now if it's targeted at 4.17?
[PATCHSET] mm, memcontrol: Implement memory.swap.events
Hello, This patchset implements memory.swap.events which contains max and fail events so that userland can monitor and respond to swap running out. It contains the following two patches. 0001-mm-memcontrol-Move-swap-charge-handling-into-get_swa.patch 0002-mm-memcontrol-Implement-memory.swap.events.patch This patchset is on top of the "cgroup/for-4.17: Make cgroup_rstat available to controllers" patchset[1] and "mm, memcontrol: Make cgroup_rstat available to controllers" patchset[2] and also available in the following git branch. git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-memcg-swap.events diffstat follows. Documentation/cgroup-v2.txt | 16 include/linux/memcontrol.h |5 + mm/memcontrol.c | 25 + mm/shmem.c |4 mm/swap_slots.c | 10 +++--- mm/swap_state.c |3 --- 6 files changed, 53 insertions(+), 10 deletions(-) Thanks. -- tejun [1] http://lkml.kernel.org/r/20180323231313.1254142-1...@kernel.org [2] http://lkml.kernel.org/r/20180324160901.512135-1...@kernel.org
[PATCHSET] mm, memcontrol: Implement memory.swap.events
Hello, This patchset implements memory.swap.events which contains max and fail events so that userland can monitor and respond to swap running out. It contains the following two patches. 0001-mm-memcontrol-Move-swap-charge-handling-into-get_swa.patch 0002-mm-memcontrol-Implement-memory.swap.events.patch This patchset is on top of the "cgroup/for-4.17: Make cgroup_rstat available to controllers" patchset[1] and "mm, memcontrol: Make cgroup_rstat available to controllers" patchset[2] and also available in the following git branch. git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-memcg-swap.events diffstat follows. Documentation/cgroup-v2.txt | 16 include/linux/memcontrol.h |5 + mm/memcontrol.c | 25 + mm/shmem.c |4 mm/swap_slots.c | 10 +++--- mm/swap_state.c |3 --- 6 files changed, 53 insertions(+), 10 deletions(-) Thanks. -- tejun [1] http://lkml.kernel.org/r/20180323231313.1254142-1...@kernel.org [2] http://lkml.kernel.org/r/20180324160901.512135-1...@kernel.org