)]}'
{
  "commit": "d02e5ed8d55e2a2b2735232ea1da40ffbf4c0932",
  "tree": "de972b3b1318deb834f61b6dba967ad32845c229",
  "parents": [
    "29f59db3a74b0bdf78a1f5b53ef773caa82692dc"
  ],
  "author": {
    "name": "Dmitry Adamushko",
    "email": "dmitry.adamushko@gmail.com",
    "time": "Mon Oct 15 17:00:07 2007 +0200"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Mon Oct 15 17:00:07 2007 +0200"
  },
  "message": "sched: sched_setscheduler() fix\n\nFix a problem in the \u0027sched-group\u0027 patch for !CONFIG_FAIR_GROUP_SCHED.\n\ndescription:\n\nsched_setscheduler()\n{\n...\nif (task_running()) p-\u003esched_class-\u003eput_prev_entity();\n\n[ this one sets up cfs_rq-\u003ecurr to NULL ]\n\n...\n\nif (task_running) p-\u003esched_class-\u003eset_curr_task();\n\n[ and this one is a _NOP_ (empty) for !CONFIG_FAIR_GROUP_SCHED ]\n\nAs a result, the task continues to run with cfs_rq-\u003ecurr \u003d\u003d NULL... no \ncrashes (due to checks for !NULL in place) but e.g. update_curr() \neffectively becomes a NOP... i.e. runtime statistics for this task is \nnot accounted untill it\u0027s rescheduled anew.\n\nSigned-off-by: Dmitry Adamushko \u003cdmitry.adamushko@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\nSigned-off-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nReviewed-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "12ab9338d56307eb75bafc551cb762eeb8739c11",
      "old_mode": 33188,
      "old_path": "kernel/sched_fair.c",
      "new_id": "144f3ef973805e83ecf24b3026452c9e9dd76777",
      "new_mode": 33188,
      "new_path": "kernel/sched_fair.c"
    }
  ]
}
