)]}'
{
  "commit": "c33a0bc4e41ef169d6e807d8abb9502544b518e5",
  "tree": "f7ba55205352cd91a4f86999710008e89932ef10",
  "parents": [
    "3c56999eec7acc105a31b4546c94aad2fb844b13"
  ],
  "author": {
    "name": "Peter Zijlstra",
    "email": "a.p.zijlstra@chello.nl",
    "time": "Fri May 01 12:23:16 2009 +0200"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Fri May 01 13:23:43 2009 +0200"
  },
  "message": "perf_counter: fix race in perf_output_*\n\nWhen two (or more) contexts output to the same buffer, it is possible\nto observe half written output.\n\nSuppose we have CPU0 doing perf_counter_mmap(), CPU1 doing\nperf_counter_overflow(). If CPU1 does a wakeup and exposes head to\nuser-space, then CPU2 can observe the data CPU0 is still writing.\n\n[ Impact: fix occasionally corrupted profiling records ]\n\nSigned-off-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Corey Ashford \u003ccjashfor@linux.vnet.ibm.com\u003e\nLKML-Reference: \u003c20090501102533.007821627@chello.nl\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "41aed42700574d5ac8a7be2bd29e1fc65772ffe1",
      "old_mode": 33188,
      "old_path": "include/linux/perf_counter.h",
      "new_id": "f776851f8c4b1632d615b7457eda36e22b27cadf",
      "new_mode": 33188,
      "new_path": "include/linux/perf_counter.h"
    },
    {
      "type": "modify",
      "old_id": "75f2b6c823920c399c7b0046985701e24535ad15",
      "old_mode": 33188,
      "old_path": "kernel/perf_counter.c",
      "new_id": "8660ae5795300a110ab79ace2667a2867b39af41",
      "new_mode": 33188,
      "new_path": "kernel/perf_counter.c"
    }
  ]
}
