|
|
Subscribe / Log in / New account

mm, memcontrol: Implement memory.swap.events

From:  Tejun Heo <tj-AT-kernel.org>
To:  hannes-AT-cmpxchg.org, mhocko-AT-kernel.org, vdavydov.dev-AT-gmail.com
Subject:  [PATCHSET v2] mm, memcontrol: Implement memory.swap.events
Date:  Mon, 16 Apr 2018 16:09:01 -0700
Message-ID:  <20180416230901.GG1911913@devbig577.frc2.facebook.com>
Cc:  guro-AT-fb.com, riel-AT-surriel.com, akpm-AT-linux-foundation.org, linux-kernel-AT-vger.kernel.org, kernel-team-AT-fb.com, cgroups-AT-vger.kernel.org, linux-mm-AT-kvack.org

Hello,

Rebased on top of e27be240df53 ("mm: memcg: make sure memory.events is
uptodate when waking pollers").

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 current linus#master
(a27fc14219f2e3c4a46ba9177b04d9b52c875532).

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds