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