)]}'
{
  "commit": "f2c66cd8eeddedb440f33bc0f5cec1ed7ae376cb",
  "tree": "4b8cfcd2a76652839121707fc2a49b70489ec055",
  "parents": [
    "19cd56c48da58bebc3a638e036bcab69469acd27"
  ],
  "author": {
    "name": "KAMEZAWA Hiroyuki",
    "email": "kamezawa.hiroyu@jp.fujitsu.com",
    "time": "Wed Oct 27 15:34:13 2010 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Oct 27 18:03:13 2010 -0700"
  },
  "message": "/proc/stat: scalability of irq num per cpu\n\n/proc/stat shows the total number of all interrupts to each cpu.  But when\nthe number of IRQs are very large, it take very long time and \u0027cat\n/proc/stat\u0027 takes more than 10 secs.  This is because sum of all irq\nevents are counted when /proc/stat is read.  This patch adds \"sum of all\nirq\" counter percpu and reduce read costs.\n\nThe cost of reading /proc/stat is important because it\u0027s used by major\napplications as \u0027top\u0027, \u0027ps\u0027, \u0027w\u0027, etc....\n\nA test on a mechin (4096cpu, 256 nodes, 4592 irqs) shows\n\n %time cat /proc/stat \u003e /dev/null\n Before Patch:  12.627 sec\n After  Patch:  2.459 sec\n\nSigned-off-by: KAMEZAWA Hiroyuki \u003ckamezawa.hiroyu@jp.fujitsu.com\u003e\nTested-by: Jack Steiner \u003csteiner@sgi.com\u003e\nAcked-by: Jack Steiner \u003csteiner@sgi.com\u003e\nCc: Yinghai Lu \u003cyinghai@kernel.org\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\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": "bf31b03fc275295e576554abdbea4f5264b99a23",
      "old_mode": 33188,
      "old_path": "fs/proc/stat.c",
      "new_id": "b80c620565bfcdda5cf7f5e1df16ed34f7d33518",
      "new_mode": 33188,
      "new_path": "fs/proc/stat.c"
    },
    {
      "type": "modify",
      "old_id": "c059044bc6dc11f7944208d6877b5438aed2e1e4",
      "old_mode": 33188,
      "old_path": "include/linux/kernel_stat.h",
      "new_id": "8b9b8908553029a6ca4efcf320bff8e22236a953",
      "new_mode": 33188,
      "new_path": "include/linux/kernel_stat.h"
    }
  ]
}
