)]}'
{
  "commit": "93aaae2e01e57483256b7da05c9a7ebd65ad4686",
  "tree": "b3e4117bbf39814ef58ce1d012d977d2d5393c38",
  "parents": [
    "0a80410dc53cf68e56456bef1ca66949b87412f9"
  ],
  "author": {
    "name": "Eric Dumazet",
    "email": "eric.dumazet@gmail.com",
    "time": "Fri Nov 19 09:49:59 2010 -0800"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Fri Nov 19 09:49:59 2010 -0800"
  },
  "message": "filter: optimize sk_run_filter\n\nRemove pc variable to avoid arithmetic to compute fentry at each filter\ninstruction. Jumps directly manipulate fentry pointer.\n\nAs the last instruction of filter[] is guaranteed to be a RETURN, and\nall jumps are before the last instruction, we dont need to check filter\nbounds (number of instructions in filter array) at each iteration, so we\nremove it from sk_run_filter() params.\n\nOn x86_32 remove f_k var introduced in commit 57fe93b374a6b871\n(filter: make sure filters dont read uninitialized memory)\n\nNote : We could use a CONFIG_ARCH_HAS_{FEW|MANY}_REGISTERS in order to\navoid too many ifdefs in this code.\n\nThis helps compiler to use cpu registers to hold fentry and A\naccumulator.\n\nOn x86_32, this saves 401 bytes, and more important, sk_run_filter()\nruns much faster because less register pressure (One less conditional\nbranch per BPF instruction)\n\n# size net/core/filter.o net/core/filter_pre.o\n   text    data     bss     dec     hex filename\n   2948       0       0    2948     b84 net/core/filter.o\n   3349       0       0    3349     d15 net/core/filter_pre.o\n\non x86_64 :\n# size net/core/filter.o net/core/filter_pre.o\n   text    data     bss     dec     hex filename\n   5173       0       0    5173    1435 net/core/filter.o\n   5224       0       0    5224    1468 net/core/filter_pre.o\n\nSigned-off-by: Eric Dumazet \u003ceric.dumazet@gmail.com\u003e\nAcked-by: Changli Gao \u003cxiaosuo@gmail.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "97c5cc2997f5adc914ae4aaa1bd8e57ef266321c",
      "old_mode": 33188,
      "old_path": "drivers/isdn/i4l/isdn_ppp.c",
      "new_id": "9e8162c80bb06580d3945c0990e79bfa4876b396",
      "new_mode": 33188,
      "new_path": "drivers/isdn/i4l/isdn_ppp.c"
    },
    {
      "type": "modify",
      "old_id": "09cf56d0416a8c24c78780c7eb374fcebf01cffc",
      "old_mode": 33188,
      "old_path": "drivers/net/ppp_generic.c",
      "new_id": "0c91598ae2806377aa901175afe75b2632ed9a3a",
      "new_mode": 33188,
      "new_path": "drivers/net/ppp_generic.c"
    },
    {
      "type": "modify",
      "old_id": "151f5d703b7e19d158e500d8ebdf688b3d3dd047",
      "old_mode": 33188,
      "old_path": "include/linux/filter.h",
      "new_id": "447a775878fb94db30df9ac047327fcc8746079b",
      "new_mode": 33188,
      "new_path": "include/linux/filter.h"
    },
    {
      "type": "modify",
      "old_id": "15a545d39cd34d9060f74f10c8daf0236abb803e",
      "old_mode": 33188,
      "old_path": "net/core/filter.c",
      "new_id": "9e77b3c816c52ecfc8c06b118bcfac289b07c218",
      "new_mode": 33188,
      "new_path": "net/core/filter.c"
    },
    {
      "type": "modify",
      "old_id": "0ae6c22da85b2a3516980691c8fbcf2f7228e3d6",
      "old_mode": 33188,
      "old_path": "net/core/timestamping.c",
      "new_id": "dac7ed687f609c83e7be6681d871d9444658006e",
      "new_mode": 33188,
      "new_path": "net/core/timestamping.c"
    },
    {
      "type": "modify",
      "old_id": "20964560a0ed49834dc9975a57457a442be39171",
      "old_mode": 33188,
      "old_path": "net/packet/af_packet.c",
      "new_id": "b6372dd128d76cb70a189bc27f61c79208c78aad",
      "new_mode": 33188,
      "new_path": "net/packet/af_packet.c"
    }
  ]
}
