)]}'
{
  "commit": "5be71b61f17b0e3bc8ad0b1a1b7b53ab7d574ebb",
  "tree": "7ab4c915871b464a08de974570900381b169e034",
  "parents": [
    "6404434525bb9f8f2239998f30fd7c93f2efa5b3"
  ],
  "author": {
    "name": "Frederic Weisbecker",
    "email": "fweisbec@gmail.com",
    "time": "Sun Mar 15 22:10:37 2009 +0100"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Mon Mar 16 09:13:16 2009 +0100"
  },
  "message": "tracing/syscalls: protect thread flag toggling from races\n\nImpact: fix syscall tracer enable/disable race\n\nThe current thread flag toggling is racy as shown in the following\nscenario:\n\n- task A is the last user of syscall tracing, it releases the\n  TIF_SYSCALL_FTRACE on each tasks\n\n- at the same time task B start syscall tracing. refcount \u003d\u003d 0 so\n  it sets up TIF_SYSCALL_FTRACE on each tasks.\n\nThe effect of the mixup is unpredictable.\nSo this fix adds a mutex on {start,stop}_syscall_tracing().\n\nReported-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nReported-by: Ingo Molnar \u003cmingo@elte.hu\u003e\nLKML-Reference: \u003c1237151439-6755-3-git-send-email-fweisbec@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "26f9a8679d3db463b7fbb6ce816136bad479adbc",
      "old_mode": 33188,
      "old_path": "kernel/trace/trace_syscalls.c",
      "new_id": "a2a3af29c94337bef68f64608a85977a2fe39ce8",
      "new_mode": 33188,
      "new_path": "kernel/trace/trace_syscalls.c"
    }
  ]
}
