)]}'
{
  "commit": "144060fee07e9c22e179d00819c83c86fbcbf82c",
  "tree": "a13f3806fb266158570f1d7f7ece72f68199d7c2",
  "parents": [
    "7fdba1ca10462f42ad2246b918fe6368f5ce488e"
  ],
  "author": {
    "name": "Peter Zijlstra",
    "email": "a.p.zijlstra@chello.nl",
    "time": "Mon Aug 01 12:49:14 2011 +0200"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Sun Aug 14 11:53:03 2011 +0200"
  },
  "message": "perf: Add PM notifiers to fix CPU hotplug races\n\nFrancis reports that s2r gets him spurious NMIs, this is because the\nsuspend code leaves the boot cpu up and running.\n\nCure this by adding a suspend notifier. The problem is that hotplug\nand suspend are completely un-serialized and the PM notifiers run\nbefore the suspend cpu unplug of all but the boot cpu.\n\nThis leaves a window where the user can initialize another hotplug\noperation (either remove or add a cpu) resulting in either one too\nmany or one too few hotplug ops. Thus we cannot use the hotplug code\nfor the suspend case.\n\nThere\u0027s another reason to not use the hotplug code, which is that the\nhotplug code totally destroys the perf state, we can do better for\nsuspend and simply remove all counters from the PMU so that we can\nre-instate them on resume.\n\nReported-by: Francis Moreau \u003cfrancis.moro@gmail.com\u003e\nSigned-off-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nLink: http://lkml.kernel.org/n/tip-1cvevybkgmv4s6v5y37t4847@git.kernel.org\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b8785e26ee1cd28c33a1c0429a49bb515c34c8d2",
      "old_mode": 33188,
      "old_path": "kernel/events/core.c",
      "new_id": "d4c85425e3a0f4c1bc08f5ca45ae53ac7742a9d3",
      "new_mode": 33188,
      "new_path": "kernel/events/core.c"
    }
  ]
}
