)]}'
{
  "commit": "9a2bd244e18ffbb96c8b783210fda4eded7c7e6f",
  "tree": "19ac3da79ea2c7245549cf69e8207a23f635d04e",
  "parents": [
    "43714539eab42b2fa3653ea7bd667b36c2291b11"
  ],
  "author": {
    "name": "Brian King",
    "email": "brking@linux.vnet.ibm.com",
    "time": "Tue Dec 09 08:47:00 2008 -0600"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Tue Dec 09 19:27:03 2008 +0100"
  },
  "message": "sched: CPU remove deadlock fix\n\nImpact: fix possible deadlock in CPU hot-remove path\n\nThis patch fixes a possible deadlock scenario in the CPU remove path.\nmigration_call grabs rq-\u003elock, then wakes up everything on rq-\u003emigration_queue\nwith the lock held. Then one of the tasks on the migration queue ends up\ncalling tg_shares_up which then also tries to acquire the same rq-\u003elock.\n\n[c000000058eab2e0] c000000000502078 ._spin_lock_irqsave+0x98/0xf0\n[c000000058eab370] c00000000008011c .tg_shares_up+0x10c/0x20c\n[c000000058eab430] c00000000007867c .walk_tg_tree+0xc4/0xfc\n[c000000058eab4d0] c0000000000840c8 .try_to_wake_up+0xb0/0x3c4\n[c000000058eab590] c0000000000799a0 .__wake_up_common+0x6c/0xe0\n[c000000058eab640] c00000000007ada4 .complete+0x54/0x80\n[c000000058eab6e0] c000000000509fa8 .migration_call+0x5fc/0x6f8\n[c000000058eab7c0] c000000000504074 .notifier_call_chain+0x68/0xe0\n[c000000058eab860] c000000000506568 ._cpu_down+0x2b0/0x3f4\n[c000000058eaba60] c000000000506750 .cpu_down+0xa4/0x108\n[c000000058eabb10] c000000000507e54 .store_online+0x44/0xa8\n[c000000058eabba0] c000000000396260 .sysdev_store+0x3c/0x50\n[c000000058eabc10] c0000000001a39b8 .sysfs_write_file+0x124/0x18c\n[c000000058eabcd0] c00000000013061c .vfs_write+0xd0/0x1bc\n[c000000058eabd70] c0000000001308a4 .sys_write+0x68/0x114\n[c000000058eabe30] c0000000000086b4 syscall_exit+0x0/0x40\n\nSigned-off-by: Brian King \u003cbrking@linux.vnet.ibm.com\u003e\nAcked-by: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b7480fb5c3dc21a7bf6513a978cf0ed2e8c19a8f",
      "old_mode": 33188,
      "old_path": "kernel/sched.c",
      "new_id": "e4bb1dd7b308fce6f47e736b70425f4bc3482c0a",
      "new_mode": 33188,
      "new_path": "kernel/sched.c"
    }
  ]
}
