)]}'
{
  "commit": "4947d3ef8de7b4f42aed6ea9ba689dc8fb45b5a5",
  "tree": "a4e77f0271702e4ff34a7a9e0c9598a3807204ee",
  "parents": [
    "17ba15fb6264f27374bc87f4c3f8519b80289d85"
  ],
  "author": {
    "name": "Benjamin LaHaise",
    "email": "bcrl@kvack.org",
    "time": "Tue Jan 03 14:06:50 2006 -0800"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Tue Jan 03 14:06:50 2006 -0800"
  },
  "message": "[NET]: Speed up __alloc_skb()\n\nFrom: Benjamin LaHaise \u003cbcrl@kvack.org\u003e\n\nIn __alloc_skb(), the use of skb_shinfo() which casts a u8 * to the \nshared info structure results in gcc being forced to do a reload of the \npointer since it has no information on possible aliasing.  Fix this by \nusing a pointer to refer to skb_shared_info.\n\nBy initializing skb_shared_info sequentially, the write combining buffers \ncan reduce the number of memory transactions to a single write.  Reorder \nthe initialization in __alloc_skb() to match the structure definition.  \nThere is also an alignment issue on 64 bit systems with skb_shared_info \nby converting nr_frags to a short everything packs up nicely.\n\nAlso, pass the slab cache pointer according to the fclone flag instead \nof using two almost identical function calls.\n\nThis raises bw_unix performance up to a peak of 707KB/s when combined \nwith the spinlock patch.  It should help other networking protocols, too.\n\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "971677178e0ce38bfc83c6aa0cdade1e73ccad2c",
      "old_mode": 33188,
      "old_path": "include/linux/skbuff.h",
      "new_id": "483cfc47ec34203535f2fe0f0ed776c95da7c077",
      "new_mode": 33188,
      "new_path": "include/linux/skbuff.h"
    },
    {
      "type": "modify",
      "old_id": "83fee37de38ee7caa37f102eec58adc383e5a585",
      "old_mode": 33188,
      "old_path": "net/core/skbuff.c",
      "new_id": "070f91cfde598cf20c20b1b291479a832922657b",
      "new_mode": 33188,
      "new_path": "net/core/skbuff.c"
    }
  ]
}
