)]}'
{
  "commit": "6ec3a12712ac67ffa4b80d16e0767ffd2431a68d",
  "tree": "7348f7ce38efe041429a2477706181686992e801",
  "parents": [
    "4f92e2586b43a2402e116055d4edda704f911b5b"
  ],
  "author": {
    "name": "Greg Thelen",
    "email": "gthelen@google.com",
    "time": "Mon May 24 14:32:33 2010 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue May 25 08:07:00 2010 -0700"
  },
  "message": "mm: consider the entire user address space during node migration\n\nUse mm-\u003etask_size instead of TASK_SIZE to ensure that the entire user\naddress space is migrated.  mm-\u003etask_size is independent of the calling\ntask context.  TASK SIZE may be dependant on the address space size of the\ncalling process.  Usage of TASK_SIZE can lead to partial address space\nmigration if the calling process was 32 bit and the migrating process was\n64 bit.\n\nHere is the test script used on 64 system with a 32 bit echo process:\n\n  mount -t cgroup none /cgroup -o cpuset\n  cd /cgroup\n\n  mkdir 0\n  echo 1 \u003e 0/cpuset.cpus\n  echo 0 \u003e 0/cpuset.mems\n  echo 1 \u003e 0/cpuset.memory_migrate\n\n  mkdir 1\n  echo 1 \u003e 1/cpuset.cpus\n  echo 1 \u003e 1/cpuset.mems\n  echo 1 \u003e 1/cpuset.memory_migrate\n\n  echo $$ \u003e 0/tasks\n  64_bit_process \u0026\n  pid\u003d$!\n\n  echo $pid \u003e 1/tasks   # This does not migrate all process pages without\n                        # this patch.  If 64 bit echo is used or this patch is\n                        # applied, then the full address space of $pid is\n                        # migrated.\n\nTo check memory migration, I watched:\n  grep MemUsed /sys/devices/system/node/node*/meminfo\n\nSigned-off-by: Greg Thelen \u003cgthelen@google.com\u003e\nAcked-by: Christoph Lameter \u003ccl@linux-foundation.org\u003e\nReviewed-by: KOSAKI Motohiro \u003ckosaki.motohiro@jp.fujitsu.com\u003e\nCc: Mel Gorman \u003cmel@csn.ul.ie\u003e\nCc: KAMEZAWA Hiroyuki \u003ckamezawa.hiroyu@jp.fujitsu.com\u003e\nCc: Daisuke Nishimura \u003cnishimura@mxp.nes.nec.co.jp\u003e\nCc: Balbir Singh \u003cbalbir@in.ibm.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": "721b2b338032d3c9d98a5abf8bac3437427a7f02",
      "old_mode": 33188,
      "old_path": "mm/mempolicy.c",
      "new_id": "75751012c552066f3e5f53329933d3f751cacb10",
      "new_mode": 33188,
      "new_path": "mm/mempolicy.c"
    }
  ]
}
