)]}'
{
  "commit": "cd7175edf963a92b2c3cd491d3e34afd357e7284",
  "tree": "72c0445ef456f005e26d04568b5a07e8ed95e084",
  "parents": [
    "f988443a84528bd30c2f474efa5e2c511959f19b"
  ],
  "author": {
    "name": "Eric Dumazet",
    "email": "dada1@cosmosbay.com",
    "time": "Wed Dec 13 00:35:45 2006 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@woody.osdl.org",
    "time": "Wed Dec 13 09:05:55 2006 -0800"
  },
  "message": "[PATCH] Optimize calc_load()\n\ncalc_load() is called by timer interrupt to update avenrun[].  It currently\ncalls nr_active() at each timer tick (HZ per second), while the update of\navenrun[] is done only once every 5 seconds.  (LOAD_FREQ\u003d5 Hz)\n\nnr_active() is quite expensive on SMP machines, since it has to sum up\nnr_running and nr_uninterruptible of all online CPUS, bringing foreign\ndirty cache lines.\n\nThis patch is an optimization of calc_load() so that nr_active() is called\nonly if we need it.\n\nThe use of unlikely() is welcome since the condition is true only once every\n5*HZ time.\n\nSigned-off-by: Eric Dumazet \u003cdada1@cosmosbay.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nAcked-by: \"Siddha, Suresh B\" \u003csuresh.b.siddha@intel.com\u003e\nCc: Nick Piggin \u003cnickpiggin@yahoo.com.au\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0256ab443d8a36445f2ab755b08503c2e28cdd9c",
      "old_mode": 33188,
      "old_path": "kernel/timer.c",
      "new_id": "feddf817baa57f1180a01db876e2a4d17752daf0",
      "new_mode": 33188,
      "new_path": "kernel/timer.c"
    }
  ]
}
