)]}'
{
  "commit": "e3c7db621bed4afb8e231cb005057f2feb5db557",
  "tree": "2a9f21bb058e789290ff37f3a6bea690d8b81504",
  "parents": [
    "c1725f2af89f1eda3cb9007290971b55084569a4"
  ],
  "author": {
    "name": "Rafael J. Wysocki",
    "email": "rjw@sisk.pl",
    "time": "Sat Feb 10 01:43:31 2007 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@woody.linux-foundation.org",
    "time": "Sun Feb 11 10:51:19 2007 -0800"
  },
  "message": "[PATCH] PM: Change code ordering in main.c\n\nAs indicated in a recent thread on Linux-PM, it\u0027s necessary to call\npm_ops-\u003efinish() before devce_resume(), but enable_nonboot_cpus() has to be\ncalled before pm_ops-\u003efinish() (cf.\nhttp://lists.osdl.org/pipermail/linux-pm/2006-November/004164.html).  For\nconsistency, it seems reasonable to call disable_nonboot_cpus() after\ndevice_suspend().\n\nThis way the suspend code will remain symmetrical with respect to the resume\ncode and it may allow us to speed up things in the future by suspending and\nresuming devices and/or saving the suspend image in many threads.\n\nThe following series of patches reorders the suspend and resume code so that\nnonboot CPUs are disabled after devices have been suspended and enabled before\nthe devices are resumed.  It also causes pm_ops-\u003efinish() to be called after\nenable_nonboot_cpus() wherever necessary.\n\nThis patch:\n\nChange the ordering of code in kernel/power/main.c so that device_suspend()\nis called before disable_nonboot_cpus() and pm_ops-\u003efinish() is called after\nenable_nonboot_cpus() and before device_resume(), as indicated by recent\ndiscussion on Linux-PM\n(cf. http://lists.osdl.org/pipermail/linux-pm/2006-November/004164.html).\n\nSigned-off-by: Rafael J. Wysocki \u003crjw@sisk.pl\u003e\nAcked-by: Pavel Machek \u003cpavel@ucw.cz\u003e\nCc: Greg KH \u003cgreg@kroah.com\u003e\nCc: Nigel Cunningham \u003cnigel@suspend2.net\u003e\nCc: Patrick Mochel \u003cmochel@digitalimplant.org\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": "47ca5a2b653bdf26ac2aaa65e5b5df7a261182e3",
      "old_mode": 33188,
      "old_path": "kernel/power/main.c",
      "new_id": "e1c4131204698fd891af0b8046406ae4fd0ff76a",
      "new_mode": 33188,
      "new_path": "kernel/power/main.c"
    }
  ]
}
