)]}'
{
  "commit": "f481891fdc49d3d1b8a9674a1825d183069a805f",
  "tree": "4f027a1321dcd06165394d0a23e49df51c8befc1",
  "parents": [
    "ac97b9f9a2d0b83488e0bbcb8517b229d5c9b142"
  ],
  "author": {
    "name": "Miao Xie",
    "email": "miaox@cn.fujitsu.com",
    "time": "Wed Nov 19 15:36:30 2008 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Nov 19 18:49:58 2008 -0800"
  },
  "message": "cpuset: update top cpuset\u0027s mems after adding a node\n\nAfter adding a node into the machine, top cpuset\u0027s mems isn\u0027t updated.\n\nBy reviewing the code, we found that the update function\n\n  cpuset_track_online_nodes()\n\nwas invoked after node_states[N_ONLINE] changes.  It is wrong because\nN_ONLINE just means node has pgdat, and if node has/added memory, we use\nN_HIGH_MEMORY.  So, We should invoke the update function after\nnode_states[N_HIGH_MEMORY] changes, just like its commit says.\n\nThis patch fixes it.  And we use notifier of memory hotplug instead of\ndirect calling of cpuset_track_online_nodes().\n\nSigned-off-by: Miao Xie \u003cmiaox@cn.fujitsu.com\u003e\nAcked-by: Yasunori Goto \u003cy-goto@jp.fujitsu.com\u003e\nCc: David Rientjes \u003crientjes@google.com\u003e\nCc: Paul Menage \u003cmenage@google.com\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": "2691926fb50641305219b74db1a96f94a143c4f7",
      "old_mode": 33188,
      "old_path": "include/linux/cpuset.h",
      "new_id": "8e540d32c9feab60f34e4e6f739d0f1ac85ad7fe",
      "new_mode": 33188,
      "new_path": "include/linux/cpuset.h"
    },
    {
      "type": "modify",
      "old_id": "81fc6791a2966f1e0aa31f97263b771f8571b102",
      "old_mode": 33188,
      "old_path": "kernel/cpuset.c",
      "new_id": "da7ff6137f375d44d7bf33dc8e10bd0e1751f89f",
      "new_mode": 33188,
      "new_path": "kernel/cpuset.c"
    },
    {
      "type": "modify",
      "old_id": "6837a1014372556c7dd78d66d9ba9ea9cb931832",
      "old_mode": 33188,
      "old_path": "mm/memory_hotplug.c",
      "new_id": "b5b2b15085a85383b1d8d14d8eff9ed2bf397611",
      "new_mode": 33188,
      "new_path": "mm/memory_hotplug.c"
    }
  ]
}
