)]}'
{
  "commit": "7ac074340480018681a0d72b324d4487543bdc0e",
  "tree": "c61f98cd477568d162d5fe408383f257f187508c",
  "parents": [
    "457dc928f586f3f4b930206965e6db270034e97e"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Wed Nov 25 13:22:21 2009 -0500"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Wed Nov 25 14:14:15 2009 -0500"
  },
  "message": "ring-buffer-benchmark: Add parameters to set produce/consumer priorities\n\nRunning the ring-buffer-benchmark\u0027s threads at the lowest priority may\nwork well for keeping it in the background, but it is not appropriate\nfor the benchmarks.\n\nThis patch adds 4 parameters to the module:\n\n  consumer_fifo\n  consumer_nice\n  producer_fifo\n  producer_nice\n\nBy default the consumer and producer still run at nice +19.\n\nIf the *_fifo options are set, they will override the *_nice values.\n\n modprobe ring_buffer_benchmark consumer_nice\u003d0 producer_fifo\u003d10\n\nThe above will set the consumer thread to a nice value of 0, and\nthe producer thread to a RT SCHED_FIFO priority of 10.\n\nNote, this patch also fixes a bug where calling set_user_nice on the\nconsumer thread would oops the kernel when the parameter \"disable_reader\"\nis set.\n\nSigned-off-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3875d49da99059019ccc79e69cdc009c00b6ae8d",
      "old_mode": 33188,
      "old_path": "kernel/trace/ring_buffer_benchmark.c",
      "new_id": "b2477caf09c2dce12890147bd4a57bfd12cd3010",
      "new_mode": 33188,
      "new_path": "kernel/trace/ring_buffer_benchmark.c"
    }
  ]
}
