)]}'
{
  "commit": "d4abc238c9f4df8b3216f3e883f5d0a07b7ac75a",
  "tree": "38b571d9a787a62ee88de8f1a2d1c39b3a9d83b8",
  "parents": [
    "d819c49da624e3ee09b2844603d58265039eecdd"
  ],
  "author": {
    "name": "Bharath Ravi",
    "email": "bharathravi1@gmail.com",
    "time": "Mon Jun 16 15:11:01 2008 +0530"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Thu Jun 19 14:15:28 2008 +0200"
  },
  "message": "sched, delay accounting: fix incorrect delay time when constantly waiting on runqueue\n\nThis patch corrects the incorrect value of per process run-queue wait\ntime reported by delay statistics. The anomaly was due to the following\nreason. When a process leaves the CPU and immediately starts waiting for\nCPU on the runqueue (which means it remains in the TASK_RUNNABLE state),\nthe time of re-entry into the run-queue is never recorded. Due to this,\nthe waiting time on the runqueue from this point of re-entry upto the\nnext time it hits the CPU is not accounted for. This is solved by\nrecording the time of re-entry of a process leaving the CPU in the\nsched_info_depart() function IF the process will go back to waiting on\nthe run-queue. This IF condition is verified by checking whether the\nprocess is still in the TASK_RUNNABLE state.\n\nThe patch was tested on 2.6.26-rc6 using two simple CPU hog programs.\nThe values noted prior to the fix did not account for the time spent on\nthe runqueue waiting. After the fix, the correct values were reported\nback to user space.\n\nSigned-off-by: Bharath Ravi \u003cbharathravi1@gmail.com\u003e\nSigned-off-by: Madhava K R  \u003cmadhavakr@gmail.com\u003e\nCc: dhaval@linux.vnet.ibm.com\nCc: vatsa@in.ibm.com\nCc: balbir@in.ibm.com\nAcked-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a38878e0e49d50cebcbb52fc5a976df23497f3ef",
      "old_mode": 33188,
      "old_path": "kernel/sched_stats.h",
      "new_id": "80179ef7450e95684f9d3f0221fce3b32615bbd5",
      "new_mode": 33188,
      "new_path": "kernel/sched_stats.h"
    }
  ]
}
