)]}'
{
  "commit": "79bd9814e5ec9a288d6599f53aeac0b548fdfe52",
  "tree": "3eea32952c52e0d32de841156c4b68e7b8278053",
  "parents": [
    "5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Fri Nov 22 18:20:42 2013 -0500"
  },
  "committer": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Fri Nov 22 18:20:42 2013 -0500"
  },
  "message": "cgroup, memcg: move cgroup_event implementation to memcg\n\ncgroup_event is way over-designed and tries to build a generic\nflexible event mechanism into cgroup - fully customizable event\nspecification for each user of the interface.  This is utterly\nunnecessary and overboard especially in the light of the planned\nunified hierarchy as there\u0027s gonna be single agent.  Simply generating\nevents at fixed points, or if that\u0027s too restrictive, configureable\ncadence or single set of configureable points should be enough.\n\nThankfully, memcg is the only user and gets to keep it.  Replacing it\nwith something simpler on sane_behavior is strongly recommended.\n\nThis patch moves cgroup_event and \"cgroup.event_control\"\nimplementation to mm/memcontrol.c.  Clearing of events on cgroup\ndestruction is moved from cgroup_destroy_locked() to\nmem_cgroup_css_offline(), which shouldn\u0027t make any noticeable\ndifference.\n\ncgroup_css() and __file_cft() are exported to enable the move;\nhowever, this will soon be reverted once the event code is updated to\nbe memcg specific.\n\nNote that \"cgroup.event_control\" will now exist only on the hierarchy\nwith memcg attached to it.  While this change is visible to userland,\nit is unlikely to be noticeable as the file has never been meaningful\noutside memcg.\n\nAside from the above change, this is pure code relocation.\n\nv2: Per Li Zefan\u0027s comments, init/Kconfig updated accordingly and\n    poll.h inclusion moved from cgroup.c to memcontrol.c.\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nAcked-by: Li Zefan \u003clizefan@huawei.com\u003e\nAcked-by: Kirill A. Shutemov \u003ckirill.shutemov@linux.intel.com\u003e\nAcked-by: Michal Hocko \u003cmhocko@suse.cz\u003e\nCc: Johannes Weiner \u003channes@cmpxchg.org\u003e\nCc: Balbir Singh \u003cbsingharora@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3561d305b1e0a2108f79030d0d8b3525db966bad",
      "old_mode": 33188,
      "old_path": "include/linux/cgroup.h",
      "new_id": "40c2427806c9d5a4686aae89fea0d4c8073310ad",
      "new_mode": 33188,
      "new_path": "include/linux/cgroup.h"
    },
    {
      "type": "modify",
      "old_id": "3ecd8a1178f102d832cdf3b4af0a908997ea648b",
      "old_mode": 33188,
      "old_path": "init/Kconfig",
      "new_id": "3ca5b8110b0c6ba8cc2b50be65c317430b3674ed",
      "new_mode": 33188,
      "new_path": "init/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "8bd9cfdc70d7bc020dbc19a05813e2e49443b8e8",
      "old_mode": 33188,
      "old_path": "kernel/cgroup.c",
      "new_id": "4bccaa7dda35e50be196cf5979d897825e8c16f2",
      "new_mode": 33188,
      "new_path": "kernel/cgroup.c"
    },
    {
      "type": "modify",
      "old_id": "13b9d0f221b8460ae3c361dd51d22ae969e78325",
      "old_mode": 33188,
      "old_path": "mm/memcontrol.c",
      "new_id": "02dae32926680f3f472c3434576a7405a782c31c",
      "new_mode": 33188,
      "new_path": "mm/memcontrol.c"
    }
  ]
}
