)]}'
{
  "commit": "50de1dd967d4ba3b8a90ebe7a4f5feca24191317",
  "tree": "ed2aa4352ae3c2887a90ef6279588a7048397d1b",
  "parents": [
    "17295c88a160c6eea3fcf46cec9d08a0fcb02db9"
  ],
  "author": {
    "name": "Daisuke Nishimura",
    "email": "nishimura@mxp.nes.nec.co.jp",
    "time": "Thu Jan 13 15:47:43 2011 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Jan 13 17:32:51 2011 -0800"
  },
  "message": "memcg: fix memory migration of shmem swapcache\n\nIn the current implementation mem_cgroup_end_migration() decides whether\nthe page migration has succeeded or not by checking \"oldpage-\u003emapping\".\n\nBut if we are tring to migrate a shmem swapcache, the page-\u003emapping of it\nis NULL from the begining, so the check would be invalid.  As a result,\nmem_cgroup_end_migration() assumes the migration has succeeded even if\nit\u0027s not, so \"newpage\" would be freed while it\u0027s not uncharged.\n\nThis patch fixes it by passing mem_cgroup_end_migration() the result of\nthe page migration.\n\nSigned-off-by: Daisuke Nishimura \u003cnishimura@mxp.nes.nec.co.jp\u003e\nReviewed-by: Minchan Kim \u003cminchan.kim@gmail.com\u003e\nAcked-by: KAMEZAWA Hiroyuki \u003ckamezawa.hiroyu@jp.fujitsu.com\u003e\nAcked-by: Balbir Singh \u003cbalbir@linux.vnet.ibm.com\u003e\nCc: Minchan Kim \u003cminchan.kim@gmail.com\u003e\nReviewed-by: Johannes Weiner \u003channes@cmpxchg.org\u003e\nCc: Hugh Dickins \u003chughd@google.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "067115ce6b3ed81f6662fe4d70d332298aa7cb17",
      "old_mode": 33188,
      "old_path": "include/linux/memcontrol.h",
      "new_id": "6a576f989437115eff8840a234b6057471a96a50",
      "new_mode": 33188,
      "new_path": "include/linux/memcontrol.h"
    },
    {
      "type": "modify",
      "old_id": "6424ba0fce836fa36f4e31c0734eed56138e2b9b",
      "old_mode": 33188,
      "old_path": "mm/memcontrol.c",
      "new_id": "8ab8410314363871da25fa9f613578f5ebe01783",
      "new_mode": 33188,
      "new_path": "mm/memcontrol.c"
    },
    {
      "type": "modify",
      "old_id": "5b7d1fd29621f19a0978447712c4d4ccdbad30bb",
      "old_mode": 33188,
      "old_path": "mm/migrate.c",
      "new_id": "46fe8cc13d67f3acf80653434223577084fd8fcf",
      "new_mode": 33188,
      "new_path": "mm/migrate.c"
    }
  ]
}
