)]}'
{
  "commit": "a45bce49545739a940f8bd4ca85c3b7435564893",
  "tree": "3f558e487448db9e49c8d4cd36379d9f42f93da2",
  "parents": [
    "99de055ac065e19ed69de961e97c6336a261b34e"
  ],
  "author": {
    "name": "Paul E. McKenney",
    "email": "paulmck@us.ibm.com",
    "time": "Fri Sep 29 02:00:11 2006 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Fri Sep 29 09:18:13 2006 -0700"
  },
  "message": "[PATCH] memory ordering in __kfifo primitives\n\nBoth __kfifo_put() and __kfifo_get() have header comments stating that if\nthere is but one concurrent reader and one concurrent writer, locking is not\nnecessary.  This is almost the case, but a couple of memory barriers are\nneeded.  Another option would be to change the header comments to remove the\nbit about locking not being needed, and to change the those callers who\ncurrently don\u0027t use locking to add the required locking.  The attachment\nanalyzes this approach, but the patch below seems simpler.\n\nSigned-off-by: Paul E. McKenney \u003cpaulmck@us.ibm.com\u003e\nCc: Stelian Pop \u003cstelian@popies.net\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "64ab045c3d9d3a72126971f51c0081e199a4468d",
      "old_mode": 33188,
      "old_path": "kernel/kfifo.c",
      "new_id": "5d1d907378a299ad6c6aab16b15d55d1248f296e",
      "new_mode": 33188,
      "new_path": "kernel/kfifo.c"
    }
  ]
}
