)]}'
{
  "commit": "3adc54fa82a68be1cd1ac82ad786ee362796e50a",
  "tree": "0538fac360f776354ec6b171e6adb0049cfa9f3b",
  "parents": [
    "ddc1637af217dbd8bc51f30e6d24e84476a869a6"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Mon Mar 30 15:32:01 2009 -0400"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Tue Jul 07 18:36:10 2009 -0400"
  },
  "message": "ring-buffer: make the buffer a true circular link list\n\nThis patch changes the ring buffer data pages from using a link list\nhead pointer, to making each buffer page point to another buffer page\nand never back to a \"head\".\n\nThis makes the handling of the ring buffer less complex, since the\ntraversing of the ring buffer pages no longer needs to account for the\nhead pointer.\n\nThis change also is needed to make the ring buffer lockless.\n\n[\n  Changes in version 2:\n\n  - Added change that Lai Jiangshan mentioned.\n\n  From: Lai Jiangshan \u003claijs@cn.fujitsu.com\u003e\n  Date: Thu, 11 Jun 2009 11:25:48 +0800\n  LKML-Reference: \u003c4A30793C.6090208@cn.fujitsu.com\u003e\n\n  I\u0027m not sure whether these 4 lines:\n\tbpage \u003d list_entry(pages.next, struct buffer_page, list);\n\tlist_del_init(\u0026bpage-\u003elist);\n\tcpu_buffer-\u003epages \u003d \u0026bpage-\u003elist;\n\n\tlist_splice(\u0026pages, cpu_buffer-\u003epages);\n  equal to these 2 lines:\n \tcpu_buffer-\u003epages \u003d pages.next;\n \tlist_del(\u0026pages);\n\n  If there are equivalent, I think the second one\n  are simpler. It may be not a really necessarily cleanup.\n\n  What I asked is: if there are equivalent, could you use these two line:\n \tcpu_buffer-\u003epages \u003d pages.next;\n\tlist_del(\u0026pages);\n]\n\n[ Impact: simplify the ring buffer to help make it lockless ]\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bf27bb7a63e2d94c7c7537f5e847223d2a49f17d",
      "old_mode": 33188,
      "old_path": "kernel/trace/ring_buffer.c",
      "new_id": "7c0168ad6d51559f039248e9066ae6f3bd397f12",
      "new_mode": 33188,
      "new_path": "kernel/trace/ring_buffer.c"
    }
  ]
}
