From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752438AbbHKR61 (ORCPT ); Tue, 11 Aug 2015 13:58:27 -0400 Received: from mail-yk0-f178.google.com ([209.85.160.178]:35860 "EHLO mail-yk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750975AbbHKR6Y (ORCPT ); Tue, 11 Aug 2015 13:58:24 -0400 From: Tejun Heo To: hannes@cmpxchg.org, lizefan@huawei.com Cc: mhocko@kernel.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCHSET cgroup/for-4.3] cgroup,memcg: generalize event handling and enable notifications on "memory.events" Date: Tue, 11 Aug 2015 13:58:01 -0400 Message-Id: <1439315889-3492-1-git-send-email-tj@kernel.org> X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This patchset establishes conventions on low frequency events, converts "cgroup.populated" to "cgroup.events" accordingly, generalizes event handling and enable notifications for "memory.events". This patchset contains the following eight patches. 0001-cgroup-replace-cgroup.populated-with-cgroup.events.patch 0002-cgroup-replace-cftype-mode-with-CFTYPE_WORLD_WRITABL.patch 0003-cgroup-relocate-cgroup_populate_dir.patch 0004-cgroup-make-cgroup_addrm_files-clean-up-after-itself.patch 0005-cgroup-cosmetic-updates-to-rebind_subsystems.patch 0006-cgroup-restructure-file-creation-removal-handling.patch 0007-cgroup-generalize-obtaining-the-handles-of-and-notif.patch 0008-memcg-generate-file-modified-notifications-on-memory.patch 0001 replaces "cgroup.populated" with "cgroup.events". 0002-0006 are prep patches. 0007 generalizes event notification. 0008 hook up event notifications for "memory.events". This patchset is on top of cgroup/for-4.3 e753531991b8 ("Merge branch 'for-4.3-unified-base' into for-4.3") and available in the following git branch. git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-events diffstat follows. Thanks. Documentation/cgroups/unified-hierarchy.txt | 15 + include/linux/cgroup-defs.h | 32 ++- include/linux/cgroup.h | 13 + kernel/cgroup.c | 264 ++++++++++++++-------------- kernel/cpuset.c | 6 mm/memcontrol.c | 8 6 files changed, 194 insertions(+), 144 deletions(-) -- tejun